Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Summary: As Mark pointed out in a review where I realized that the *example* had a bogus config key (which I hadn't noticed earlier because it was just using the default value), we should probably do a strict-unmarshal; there's no reason you should have random extra keys in your config and if you do it's probably a mistake. (Or maybe you're running a too-old version of genqlient for your codebase, which you probably also want to know.) Now we do. ## Test plan: - `make check` - in webapp, `go mod edit -replace github.com/Khan/genqlient=../genqlient` then `make genqlient` produces no diffs (except go.mod/go.sum). Author: benjaminjkraft Reviewers: dnerdy, aberkan, csilvers, MiguelCastillo Required Reviewers: Approved by: dnerdy Checks: ✅ Test (1.17), ✅ Test (1.16), ✅ Test (1.15), ✅ Test (1.14), ✅ Test (1.13), ✅ Lint, ✅ Test (1.17), ✅ Test (1.16), ✅ Test (1.15), ✅ Test (1.14), ✅ Test (1.13), ✅ Lint Pull request URL: #55
- Loading branch information