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
{{ message }}
This repository was archived by the owner on Apr 13, 2023. It is now read-only.
This commit has removed a condition that previously made the function return if a variable was optional and not set. From 2.5.0 on, every variable is set to null, if optional and not provided any value. I wonder if the new behaviour is intentional and just right or if this is a regression (could not find anything related in changelog).
Intended outcome:
variables: {}
Actual outcome:
variables: {
transform: null
}
How to reproduce the issue:
Create a mutation with at least one optional variable. Call the mutation without a value for the optional variable.
Compared versions:
2.4.1 (variable is not set)
2.5.0, 2.5.1, 2.5.2 (all 2.5.x seems to have the regression)
The GraphQL query has an optional variable transform.