Skip to content

Associate *.gql files with graphql language in GraphQLProject#740

Merged
jbaxleyiii merged 1 commit intoapollographql:masterfrom
brabeji:patch-1
Nov 27, 2018
Merged

Associate *.gql files with graphql language in GraphQLProject#740
jbaxleyiii merged 1 commit intoapollographql:masterfrom
brabeji:patch-1

Conversation

@brabeji
Copy link
Copy Markdown
Contributor

@brabeji brabeji commented Nov 26, 2018

Codegen wasn't working for me with my files ending in ".gql". As my IDE plugin recognizes "*.gql" files as graphql, this is very confusing.

I see two possible further improvements:

  1. Warn when including a file without language association
  2. Fallback to graphql language

Codegen wasn't working for me with my files ending in ".gql". As my IDE plugin recognizes "*.gql" files as graphql, this is very confusing. 

I see two possible further improvements:
1. Warn when including a file without language association
2. Fallback to `graphql` language
@jbaxleyiii
Copy link
Copy Markdown
Contributor

@brabeji ah great! Thanks for adding this!

@jbaxleyiii jbaxleyiii merged commit 8c66c0c into apollographql:master Nov 27, 2018
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.

2 participants