You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (Jira)" <ji...@apache.org> on 2025/07/07 11:25:00 UTC
[jira] [Updated] (SLING-12818) GraphQL variables has to be casted to the correct type
[ https://issues.apache.org/jira/browse/SLING-12818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz updated SLING-12818:
----------------------------------------
Fix Version/s: GraphQL Core 0.0.34
> GraphQL variables has to be casted to the correct type
> ------------------------------------------------------
>
> Key: SLING-12818
> URL: https://issues.apache.org/jira/browse/SLING-12818
> Project: Sling
> Issue Type: Bug
> Components: GraphQL
> Affects Versions: GraphQL Core 0.0.32
> Reporter: Martin Schulze
> Assignee: Martin Schulze
> Priority: Major
> Fix For: GraphQL Core 0.0.34
>
>
> With the update of the graphql-java library form 20.9 to 24.0, variables (Float, Int, Boolean) have to be handed over in the correct casted type, not as a string anymore. To have the same behaviour we have to introduce LegacyCoercingInputInterceptor [1]
> [1] https://github.com/graphql-java/graphql-java-page/blob/master/documentation/upgrade-notes.md#how-to-use-the-inputinterceptor-to-use-the-legacy-parsevalue-behaviour-prior-to-v220
--
This message was sent by Atlassian Jira
(v8.20.10#820010)