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

Allow fragments only for codegen #707

Merged
merged 2 commits into from
Nov 15, 2018
Merged

Conversation

trevor-scheer
Copy link
Member

Only throw an error if we have neither operations or fragments.

Tested this on a demo project with fragments only to confirm the fix.

Fixes #684

Copy link
Contributor

@martijnwalraven martijnwalraven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Only throw an error if we have neither operations _or_ fragments
@trevor-scheer trevor-scheer force-pushed the trevor/support-frags-only branch from 400a7fa to 311bda0 Compare November 15, 2018 17:06
@trevor-scheer trevor-scheer merged commit 08b3b84 into master Nov 15, 2018
@trevor-scheer trevor-scheer deleted the trevor/support-frags-only branch November 15, 2018 17:09
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.

Fragments-only set of files are not supported
2 participants