graphql.schema.validation.InvalidSchemaException: invalid schema not implementing interface #3701
-
i was running WildFly 30 → Feature pack 2.2.0.Final →SmallRye GraphQL 2.5.0 included. -> graphql-java 20.2 now i get these errors when starting up:
the classes are quite simple:
and
has aynone an idea why this may cause graphql trouble ? thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I am not sure what WF33.0 but I am assuming its an application framework - I know SmallRye is an frameowrk over top of the graphql-java base library. I am gathering these frameworks convert Java declarations into graphql types dynamically at runtime (or many build time). I can say the error messages tells me that the interface most likely got generated as
and that BasicOrder got made as
eg the non null ness did not get applied for some reason. But I don't know WHY these frameworks did this or how the generate their graphql types from Java declarations of code. Perhaps you need to report it to the WF project (whatever that is) or SmallRye project maybe ? |
Beta Was this translation helpful? Give feedback.
I am not sure what WF33.0 but I am assuming its an application framework - I know SmallRye is an frameowrk over top of the graphql-java base library.
I am gathering these frameworks convert Java declarations into graphql types dynamically at runtime (or many build time).
I can say the error messages tells me that the interface most likely got generated as
and that BasicOrder got made as
eg the non null ness did not get applied for some reason. But I don't know WHY these frameworks did this or how the generate their graphql types from Ja…