AOT: No JSON Encoder error using GraphlQL client #825
Labels
in: core
Issues related to config and core support
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Following comment in #495 (comment)
I'm using Spring Boot 3.1.3 together with Graalvm 22.3.1. Use GraphQL from client side app compiled in native, as indicated in docs (https://docs.spring.io/spring-graphql/reference/graalvm-native.html#graalvm.client) I included @RegisterReflectionForBinding with my DTO type
However still get a No JSON Encoder error
Attached, I provide a sample app to reproduce error get in my main app.
It was build in Windows
graphql-client-native.zip
Steps to reproduce the issue:
1 - compile in native
2 - start app
Full stack trace got:
The text was updated successfully, but these errors were encountered: