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

Search for config #176

Merged
merged 1 commit into from
Jul 8, 2018
Merged

Search for config #176

merged 1 commit into from
Jul 8, 2018

Conversation

vektah
Copy link
Collaborator

@vektah vektah commented Jul 8, 2018

Look for a config called ".?gqlgen.ya?ml" starting in the current directory and moving up the tree. If one isn't found, use defaults.

Now distinguishes between explicit -config and default config, if you ask to load a config and it cant be found gqlgen will now complain rather than silently falling back to defaults.

Fixes #167 and #168

@vektah vektah merged commit a9c3af8 into master Jul 8, 2018
@vektah vektah deleted the config-search-paths branch July 8, 2018 04:59
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.

1 participant