Skip to content

Quarkus/JSON-B/Yasson and Blaze's Keyset Pagination #1470

Answered by beikov
Akaame asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

the serialization part was deliberately not handled out of the box because everyone probably has a different opinion about how this should be done. For GraphQL we use Java serialization with a serialization filter, so that only the basic types of the entity domain can be deserialized. You could use something similar. Also see https://github.com/Blazebit/blaze-persistence/blob/main/integration/graphql/src/main/java/com/blazebit/persistence/integration/graphql/GraphQLRelayPageInfo.java#L60 and https://github.com/Blazebit/blaze-persistence/blob/main/integration/graphql/src/main/java/com/blazebit/persistence/integration/graphql/GraphQLCursorObjectInputStream.java

I honestly don't know how…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Akaame
Comment options

@beikov
Comment options

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