Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Type binding mismatch: javax.security.Subject instead of my x.y.z.Subject #490

Answered by oliemansm
agazzarini asked this question in Q&A
Discussion options

You must be logged in to vote

The binding is handled by graphql-java-tools by starting the scan of the root Query and Mutation types and following all defined queries and mutations to bind all types and inputs to the corresponding classes. The above snippet above doesn't show that crucial part.

This Subject type is used in one of your queries or mutations? And in the Java class implementing that query or mutation you are using your own Subject class? Because in that case it should map it correctly.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by agazzarini
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #490 on December 19, 2020 19:33.