Skip to content

Reference implicit model types in mutations #59

@furious-luke

Description

@furious-luke

Various types get automatically generated for models, for example "create" and "update" types, like CreateUserInput. Often it's necessary to reference these types in custom mutations, but of course they've not been generated by then. Not to mention we don't know which API will be used.

A placeholder set of types must be created to be used. I would expect the usage to look something like:

class MyMutation(model.Mutation):
    input = MyModel.Meta.CreateInput

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions