Dan Caddigan

Results 65 comments of Dan Caddigan

If part of this ticket requires additional GraphQL scalars, use https://www.graphql-scalars.dev/

Hey, thanks for the code sample. Do you want to put it in as a PR in the examples folder? Then it’s not “officially supported” but folks have the pattern...

Hey @diegonc . I'd still be interested in getting this represented in the examples folder if you're interested in adding it.

Yeah, that works. I typically just copy the last folder, re-number the DB name, etc... and gut the model, service and resolver of what's not needed.

Can you shoot me a link to your branch?

Note to self to see diff: https://github.com/goldcaddy77/warthog/compare/main...diegonc:t/single-table-inheritance

Gotcha! So it could be as simple as passing `res` in context as well? https://github.com/goldcaddy77/warthog/blob/master/src/core/server.ts#L228

If that’s the case, feel free to open up a PR or I can get to it this week

Awesome. If you tackle this, let’s keep `request` there for backwards compatibility and additionally add `req` and `res`.

I’d prefer `req` and `res` to indicate they’re the express req and res objects.