-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin crashes when read_query response contains null value #94
Comments
@mootari Thanks for reporting this. I will look into this. Am I correct to assume the expected behavior here is for the read query to not flop on a null value, and proceed to execute the mutation to re-populate the value? |
@sullivtr Yes, I think that's accurate. Thank you! |
@mootari In the meantime, it seems like setting |
I have the same issue, even if I use
|
@sullivtr, I am also running into the |
I was testing the resilience of my
graphql_mutation
resource by deallocating a resource externally and then runningterraform apply
again. Unfortunately the plugin crashes when one of the to-be-mapped values in the read_query response is null.Given the following provider resource
and the state
(show state)
if on the next run the read_query response has the shape
then the plugin crashes in
computeMutationVariableKeys
with the following error and trace:The text was updated successfully, but these errors were encountered: