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
{{ message }}
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.
I have a demo setup where I use references, but it fails to configure the schema, likely because the same reference is used multiple times.
This is the error I get
Could not generate schemas: Schema must contain uniquely named types but contains multiple types named "ADDRESS".
(node:27) UnhandledPromiseRejectionWarning: Error: Error: Unable to create schemas and resolvers
at /root/app/dist/node_modules/@confluentinc/ksqldb-graphql/src/schema.js:201:27
at Generator.next (<anonymous>)
at fulfilled (/root/app/dist/node_modules/@confluentinc/ksqldb-graphql/src/schema.js:5:58)
I investigated a bit more, but the issue also exist when using protobuf, but included a separate message, which get included in another message. I guess the best simple solution would be to check if the type is the same, and then to coerce them and/or only throw an error when it's not the same.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a demo setup where I use references, but it fails to configure the schema, likely because the same reference is used multiple times.
This is the error I get
Demo can be found at https://github.com/gklijs/ksqlDB-GraphQL-poc you probably need to restart the
js-graphql-endpoint
container to see the error.The text was updated successfully, but these errors were encountered: