Skip to content

Keep operations w/ scalar-type returns#1

Open
nVitius wants to merge 1 commit into
GavinRay97:masterfrom
nVitius:fix/scalar_returns
Open

Keep operations w/ scalar-type returns#1
nVitius wants to merge 1 commit into
GavinRay97:masterfrom
nVitius:fix/scalar_returns

Conversation

@nVitius
Copy link
Copy Markdown

@nVitius nVitius commented Sep 16, 2021

Right now, any mutations or queries defined with a scalar return type will be omitted from the generated operations. This patch allows these to be generated.

e.g.

type mutation {
  deleteEntity(entityId: ID!): Boolean
}

should compile to:

mutation deleteEntity($entityId: ID!) {
  deleteEntity(entityId: $entityId)
}

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

Successfully merging this pull request may close these issues.

1 participant