data icon indicating copy to clipboard operation
data copied to clipboard

Holodeck: Change ResponseGenerator to return JSONValue

Open lucasxzh opened this issue 4 months ago • 1 comments

Holodeck should be able to support mocking of servers that aren't following JSON:API spec.

async function registerProjectMessages(ctx: TestContext, id: string) {
  // @ts-expect-error - Holodeck types don't support empty arrays yet? but this should be valid
  await GET(ctx, `projects/${id}/messages`, () => [], { RECORD: true });
}

lucasxzh avatar Nov 07 '25 08:11 lucasxzh

needs prettier run but otherwise seems good

runspired avatar Nov 13 '25 22:11 runspired