Skip to content

Allow customization of key result(s) with mutations #57

Open
@sezaru

Description

@sezaru

Is your feature request related to a problem? Please describe.
Right now when you create a mutation with AshGraphQL, the output data will be inside the result or results field.

Some people prefer to have the resource name there instead of a generic one.

For example, if the resource being returned is Offer, then the key would be offer or offers.

Describe the solution you'd like
I would like to have some options that I add to the mutation to customize that key name.

Describe alternatives you've considered
I can achieve that if I create the whole mutation manually, but that kinda defeats the purpose of using Ash

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions