Skip to content

Exception while deserializing input objects with Set in 4.7.5, bug? #620

Answered by paulbakker
maxixcom asked this question in Q&A
Discussion options

You must be logged in to vote

Lists are explicitly supported, but Sets are not. The reason being that lists in GraphQL have List semantics, so using a List on the Java/Kotlin side makes most sense. In previous versions this worked in most cases because Jackson was used for part of the input argument conversion (which was conceptually wrong and caused other problems).

However, I think we could support Set as well. Could you create an issue for this?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maxixcom
Comment options

Answer selected by maxixcom
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