Skip to content

Add a helper fromFile function to get GraphQL queries from a file #628

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 1 commit into from
Sep 28, 2017
Merged

Add a helper fromFile function to get GraphQL queries from a file #628

merged 1 commit into from
Sep 28, 2017

Conversation

m1guelpf
Copy link
Contributor

@m1guelpf m1guelpf commented Sep 27, 2017

GraphQL queries can be long, so I normally store them in a external file. This PR adds a helper function that loads the query from an external file.

:octocat:

@m1guelpf
Copy link
Contributor Author

ping @Nyholm

@acrobat
Copy link
Collaborator

acrobat commented Sep 28, 2017

Thanks @m1guelpf!

@acrobat acrobat merged commit 89dafac into KnpLabs:master Sep 28, 2017
@m1guelpf m1guelpf deleted the patch-1 branch September 28, 2017 18:37
@Nyholm
Copy link
Collaborator

Nyholm commented Sep 29, 2017

👍

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.

3 participants