Skip to content

graphql.schema.validation.InvalidSchemaException: invalid schema not implementing interface #3701

Answered by bbakerman
drohne1673 asked this question in Q&A
Discussion options

You must be logged in to vote

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

interface Order {
   orderId : String!
   orderState : OrderState!
}

and that BasicOrder got made as

type BasicOrder implements Order {
   orderId : String
   orderState : OrderState
}

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…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@bbakerman
Comment options

@drohne1673
Comment options

@drohne1673
Comment options

@phillip-kruger
Comment options

@drohne1673
Comment options

Answer selected by drohne1673
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants