Polish SerializableGraphQlRequest for GraalVM support

This commit improves the `SerializableGraphQlRequest` by declaring its
reflection usage for GraalVM native applications.

See gh-905
This commit is contained in:
Brian Clozel
2024-02-13 20:54:41 +01:00
parent fb1f0ee0e7
commit 5248a3253b

View File

@@ -12,7 +12,7 @@
"allDeclaredMethods":true,
"allDeclaredConstructors":true,
"condition": {
"typeReachable": "org.springframework.graphql.client.AbstractGraphQlClientBuilder"
"typeReachable": "org.springframework.graphql.client.CodecDelegate"
}
},
{
@@ -21,7 +21,25 @@
"allDeclaredMethods":true,
"allDeclaredConstructors":true,
"condition": {
"typeReachable": "org.springframework.graphql.server.webflux.GraphQlWebSocketHandler"
"typeReachable": "org.springframework.graphql.server.webflux.CodecDelegate"
}
},
{
"name":"org.springframework.graphql.server.support.SerializableGraphQlRequest",
"allDeclaredFields":true,
"allDeclaredMethods":true,
"allDeclaredConstructors":true,
"condition": {
"typeReachable": "org.springframework.graphql.server.webflux.GraphQlHttpHandler"
}
},
{
"name":"org.springframework.graphql.server.support.SerializableGraphQlRequest",
"allDeclaredFields":true,
"allDeclaredMethods":true,
"allDeclaredConstructors":true,
"condition": {
"typeReachable": "org.springframework.graphql.server.webmvc.GraphQlHttpHandler"
}
}
]