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

Quarkus Graphql throwing Class [com.google.gson.JsonObject] is not indexed in Jandex. can not scan Object Type, might not be mapped correctly. Kind = [CLASS] #1344

Open
zhenwei94 opened this issue Oct 22, 2023 · 4 comments

Comments

@zhenwei94
Copy link

Hi, I'm facing the error as shown below. Have tried using other maven dependency e.g. io.vertx.core.json.JsonObject but the issue still persist.

I'm running on maven 3.9.0, jdk 11 and Quarkus v3.4.3.

image

@zhenwei94
Copy link
Author

Managed to isolate the issue. Seems like Object type is no longer supported by Graphql.
Is there any alternative for this?

image

@phillip-kruger
Copy link
Member

@jmartisk ^^^ I don't think object has ever been supported.

@jmartisk
Copy link
Contributor

This looks similar to the use case described in smallrye/smallrye-graphql#1776 - it's not supported (yet).

@debu999
Copy link

debu999 commented Jan 6, 2024

Can we take some reference from spqr
leangen/graphql-spqr@5244588 this commit added support in spqr for GSON/JACKSON

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants