You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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
The text was updated successfully, but these errors were encountered: