Skip to content

issue with mutating nulls #107

Open
Open
@tonipepperoni

Description

@tonipepperoni

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions