Skip to content

Support for generating mutationType objects? #16

@yanickj

Description

@yanickj

Hi there. I'm curious if adding support for generating mutation objects from the schema is on the roadmap. I've been toying around and have a really quick and dirty branch, but it looks like adding this functionality would require updating to the client lib to add a AbstractMutationBuilder or something similar.

The apollo code gen does this for android and presumably for the node client. Would be real nice to have it for PHP too, but I haven't found this functionality in any other lib.

So, two questions:

  1. have you already gone down this road and decided against it?
  2. open to a PR or do you have an idea of how you'd like to see it implemented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions