File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
spring-graphql-docs/src/docs/asciidoc Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -299,8 +299,10 @@ You can use `RuntimeWiringConfigurer` to register:
299
299
`AnnotatedControllerConfigurer`, which detects annotated, `DataFetcher` handler methods.
300
300
The Spring Boot starter adds the `AnnotatedControllerConfigurer` by default.
301
301
302
- NOTE: Unlike web frameworks, GraphQL does not use Jackson annotations to drive JSON serialization/deserialization.
303
- Custom data types and their serialization https://www.graphql-java.com/documentation/scalars/[must be described as Scalars].
302
+ NOTE: GraphQL Java, server applications use Jackson only for serialization to and from maps of data.
303
+ Client input is parsed into a map. Server output is assembled into a map based on the field selection set.
304
+ This means you can't rely on Jackson serialization/deserialization annotations.
305
+ Instead, you can use https://www.graphql-java.com/documentation/scalars/[custom scalar types].
304
306
305
307
The Spring Boot starter detects beans of type `RuntimeWiringConfigurer` and
306
308
registers them in the `GraphQlSource.Builder`. That means in most cases, you'll' have
You can’t perform that action at this time.
0 commit comments