Skip to content

Adding support for complex GraphQL types in "outputType" parameter #48

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

Merged
merged 2 commits into from
Apr 23, 2019

Conversation

moufmouf
Copy link
Member

Currently, the "outputType" parameter of the Field/Query/Mutation annotations only supports Scalar or ObjectType.
We should instead support all possible types in the GraphQL syntax.

For instance:

@Field(outputType="[User!]!")

This first commit contains a failing test showcasing the issue.

Currently, the "outputType" parameter of the Field/Query/Mutation annotations only supports Scalar or ObjectType.
We should instead support all possible types in the GraphQL syntax.

For instance:

```
@field(outputType="[User!]!")
```

This first commit contains a failing test showcasing the issue.
@moufmouf moufmouf merged commit 1fa0023 into thecodingmachine:master Apr 23, 2019
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