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

JSDoc: Removed incorrect results for documents containing operations #4239

Merged
merged 2 commits into from
Jun 18, 2020

Conversation

CarloPalinckx
Copy link
Contributor

This plugin does not yet support operations as output, however when your documents contain operations it breaks the output by casting an object to string. Resulting in a [object Object] in the output. Which could turn out to be trouble when ran with a bundler. This PR removes that behaviour and makes it so that the plugin no-op's when encountering a operation or fragment.

@dotansimha
Copy link
Owner

Thanks @CarloPalinckx !

@dotansimha
Copy link
Owner

@CarloPalinckx can you please check the CI? it seems to fail :(

@CarloPalinckx
Copy link
Contributor Author

@dotansimha should be fine now 🙂

@dotansimha dotansimha merged commit 851e4fc into dotansimha:master Jun 18, 2020
@theguild-bot
Copy link
Collaborator

The latest changes of this PR are available as alpha in npm: 1.15.4-alpha-851e4fcd.0

Quickly update your package.json by running:

npx match-version @graphql-codegen 1.15.4-alpha-851e4fcd.0

@CarloPalinckx CarloPalinckx deleted the jsdoc-object-error branch June 23, 2020 09:03
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.

None yet

3 participants