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

how to remove or disable unneeded generated fields #67

Open
bastianhilton opened this issue Oct 29, 2022 · 0 comments
Open

how to remove or disable unneeded generated fields #67

bastianhilton opened this issue Oct 29, 2022 · 0 comments

Comments

@bastianhilton
Copy link

bastianhilton commented Oct 29, 2022

FIrst of all this plugin is wonderful and just what I was looking for. But question, if I have a query like this:

query findManyAgreements($cursor: AgreementsWhereUniqueInput, $distinct: [AgreementsScalarFieldEnum!], $orderBy: [AgreementsOrderByWithRelationAndSearchRelevanceInput!], $skip: Int, $take: Int, $where: AgreementsWhereInput){
    findManyAgreements(cursor: $cursor, distinct: $distinct, orderBy: $orderBy, skip: $skip, take: $take, where: $where){
        content
        created
        excerpt
        id
        image
        mediamanager
        name
        reference_id
        shop_id
        type
        updated
        user_id
    }
}

and wanted it to be generated as this instead:

query findManyAgreements{
    findManyAgreements{
        content
        created
        excerpt
        id
        image
        mediamanager
        name
        reference_id
        shop_id
        type
        updated
        user_id
    }
}

How would I do that, even if it means to adjust the code in the plugin, just need to know where to look. Thank you in advance.

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

1 participant