Closed rawkode closed 3 days ago
printSchema
from the graphql
package won't print directives. You need to use something else like https://the-guild.dev/graphql/tools/docs/api/modules/utils_src#printschemawithdirectives
Oh, I had no idea. Thank you!
I'm using the Drizzle plugin, so that may be what the problem is. However, I would expect that calling
builder.asEntity
would add the@key
directive to the printed schema.I've tried adding the directive manually to the type too, but alas that didn't work.