You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As seen in spring-projects/spring-graphql#345, our current auto-configuration for the ExecutionGraphQlServiceTester is not aligned with the HttpGraphQlTester auto-configuration behavior. HttpGraphQlTester is based on an existing, auto-configured WebTestClient with JSON codecs. On the other hand, ExecutionGraphQlServiceTester is using its default builder with the default JSON codec configuration.
We should use the newly introduced encoder(Encoder<?>) and decoder(Decoder<?>) methods on the builder with Jackson codecs honoring the application configuration.
The text was updated successfully, but these errors were encountered:
As seen in spring-projects/spring-graphql#345, our current auto-configuration for the
ExecutionGraphQlServiceTester
is not aligned with theHttpGraphQlTester
auto-configuration behavior.HttpGraphQlTester
is based on an existing, auto-configuredWebTestClient
with JSON codecs. On the other hand,ExecutionGraphQlServiceTester
is using its default builder with the default JSON codec configuration.We should use the newly introduced
encoder(Encoder<?>)
anddecoder(Decoder<?>)
methods on the builder with Jackson codecs honoring the application configuration.The text was updated successfully, but these errors were encountered: