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

Unchecked Scalar Input #170

Open
strazi opened this issue Jan 21, 2021 · 0 comments
Open

Unchecked Scalar Input #170

strazi opened this issue Jan 21, 2021 · 0 comments
Assignees
Labels
feature New feature or request
Projects

Comments

@strazi
Copy link

strazi commented Jan 21, 2021

It looks like the GraphQL SDL inputs plugin selects the unchecked scalars version of the input arguments automatically, would it be possible to have an option to select the "normal" version? For example:

mutation {
  updateItem(
    foreignKeyId: STRING
  )
}

vs.

mutation {
  updateItem(
    foreignKey: {
      connect: {
        id: STRING
      }
    }
  )
}

Alternatively maybe the inputs could be generated into individual files like the resolvers are. Thanks!

@AhmedElywa AhmedElywa self-assigned this Jan 28, 2021
@AhmedElywa AhmedElywa added the feature New feature or request label Jan 28, 2021
@AhmedElywa AhmedElywa added this to To do in Dashboard via automation Jan 28, 2021
@AhmedElywa AhmedElywa moved this from To do to In progress in Dashboard Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Dashboard
  
In progress
Development

No branches or pull requests

2 participants