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

added schema file globbing fixes #631 #717

Merged
merged 3 commits into from
Jun 12, 2019

Conversation

cbelsole
Copy link
Contributor

@cbelsole cbelsole commented May 18, 2019

Describe your PR and link to any relevant issues:

This fixes #631 by implementing globbing for schema files.

Tested with:

# schema:
# - schema/schema.graphql
# - schema/models/todo/todo.graphql
# - schema/models/user/user with spaces.graphql

# schema:
# - schema/schema.graphql
# - schema/models/user/*.graphql
# - schema/models/todo/*.graphql

# schema:
# - schema/schema.graphql
# - schema/**/user/*.graphql
# - schema/**/todo/*.graphql

# schema:
# - schema/schema.graphql
# - schema/models/**/todo.graphql
# - schema/models/**/user with spaces.graphql

# schema:
# - schema/schema.graphql
# - schema/models/**/*.graphql

# schema:
# - schema/**/*.graphql

I have:

  • Added tests covering the bug / feature (see testing)
  • Updated any relevant documentation (see docs)

@cbelsole
Copy link
Contributor Author

@vektah any interest in merging this?

@mathewbyrne mathewbyrne merged commit 694f90a into 99designs:master Jun 12, 2019
@mathewbyrne
Copy link
Contributor

Thanks for the contribution!

@vektah vektah mentioned this pull request Jun 24, 2019
cgxxv pushed a commit to cgxxv/gqlgen that referenced this pull request Mar 25, 2022
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.

Include files recursively
2 participants