plugin-graphql
plugin-graphql copied to clipboard
issue with mutating nulls
if you mutate an object and after it gets mutated by setting a field null, it is ignored by vuex orm and maintains previous non null state.
Example:
I have a model where I have accepted_at = 03/03/2019 for an Offer model
I want to mutate this in graphql and set accepted_at = null
it gets ignored by transformIncoming call
I just noticed this exact same issue. When I look at the network request, the field that I'm wanting to set to null
isn't included in the variables object.
update on this? i want to mutate null values also