-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hey everyone,
I've been trying to get this library to work with my PostGraphile server. PostGraphile generates a "Node" type though which can be any kind of entity in the database. purescript-graphql-clients code generator doesn't seem to like that.
file:///home/kevin/Projects/Gastflugplaner/graphile-purescript/client/node_modules/purescript-graphql-client/codegen/schema/write-purs-schema.mjs:23
throw new Error(parseError)
^
Error: Unsupported TypeDefinition kind:
INTERFACE
at writePursSchemas (file:///home/kevin/Projects/Gastflugplaner/graphile-purescript/client/node_modules/purescript-graphql-client/codegen/schema/write-purs-schema.mjs:23:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateSchemas (file:///home/kevin/Projects/Gastflugplaner/graphile-purescript/client/node_modules/purescript-graphql-client/codegen/schema/index.mjs:19:10)
Node.js v20.12.2
I'm using fe24db5 of this library with spago 0.93.40.
The introspection query returns:
schama.json
I'd love to get this to work and I'd be willing to help where I can. I'm not that experienced with purescript thought
Metadata
Metadata
Assignees
Labels
No labels