Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to serialize Object #1413

Open
esfomeado opened this issue Nov 21, 2023 · 0 comments
Open

Unable to serialize Object #1413

esfomeado opened this issue Nov 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@esfomeado
Copy link
Contributor

Issue Description

When using an Object Scalar the request is not serialized properly.

For instance we if set the codegen to not use the object mapper for the Object scalar and the object itself is an UUID the request will be unparsable but if the object itself is a Map it will work fine.
Now if we use the object mapper for the Object scalar and the object itself is an UUID the request will be parsable but if the object itself is a Map the request will be unparsable.
No matter the option used it will never work for all cases.

Steps to Reproduce

Use an Object Scalar and try to parse multiple objects.

Expected Result

The request should always be valid/parsable.

Actual Result

In some scenarios the request is unparsable.

Your Environment and Setup

  • graphql-java-codegen version: 5.9.0
  • Build tool: Gradle
@esfomeado esfomeado added the bug Something isn't working label Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant