Skip to content
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

Support serialise nested object as nil #7

Closed
ignacio-chiazzo opened this issue Jul 19, 2017 · 3 comments
Closed

Support serialise nested object as nil #7

ignacio-chiazzo opened this issue Jul 19, 2017 · 3 comments

Comments

@ignacio-chiazzo
Copy link
Member

ignacio-chiazzo commented Jul 19, 2017

We have to support sending a nested object as nil so as to delete the object.

  objectUpdate(input: $input) {
        userErrors { field, message }
        object {
          id
          title
          suboject {
            id
            name
          }
        }
      }
    }

To do that we have to modify the serialise function.

@ignacio-chiazzo ignacio-chiazzo self-assigned this Jul 19, 2017
@see-mack
Copy link

This is also affecting the android client. Is there an open issue to fix that as well?

@ignacio-chiazzo ignacio-chiazzo removed their assignment Jul 27, 2017
@ignacio-chiazzo
Copy link
Member Author

ignacio-chiazzo commented Jul 27, 2017

I created this ticket but haven't had a chance to look into it. It's not on my TODO plan now, but I can take a peek after.

@ignacio-chiazzo
Copy link
Member Author

Closing in favour of #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants