Benjie

Results 1474 comments of Benjie

You're using the Relay preset but you're also using `$id: Int!`... this doesn't make sense to me. The point of the Relay preset is that you shouldn't use the underlying...

Please create a minimal reproduction using https://github.com/benjie/ouch-my-finger

I created a database with this SQL: ```sql drop table if exists currencies, users, tickets cascade; CREATE TABLE currencies ( name varchar not null, code char(3) not null PRIMARY KEY...

Those values are hard to serialise, e.g. they don’t serialise in JSON. GraphQL aims for maximal compatibility and this excludes these kinds of things. However you could create your own...

(This is scheduled for V6. I'd love to do it now, but we'll never release V5 at this rate...)

What is the username inside the database, is it `[user]` or is it `[user].[projectId]`? You can find out [via `select user;`](https://www.postgresql.org/docs/17/functions-info.html)

From a quick scan this looks good - the memoization is straightforward and leverages the flexibility of JS. I was expecting to do this with a schema WeakMap with a...

Please could you expand on the use case for this. Further, could you explain what it would mean for executable documents (client-side) vs type system documents (server-side)? Presumably directives in...

> Schema Usecase: The import directive could change the final outputted schema by stitching multiple schemas (depending on the server implementation of import and merge). It feels to me like...

That's an interesting example, however GraphQL works on a global scope basis (you can define types in any order), so all of the document-level directives would be hoisted (i.e. it...