Files
genqlient/generate
Ben KraftandGitHub 6689d5a009 Use yaml.UnmarshalStrict (#55)
## 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: https://github.com/Khan/genqlient/pull/55
2021-08-23 15:52:08 -07:00
..
2021-08-20 10:39:12 -07:00
2021-08-23 15:52:08 -07:00
2021-08-20 10:39:12 -07:00
2021-08-20 10:39:12 -07:00
2021-08-20 10:39:12 -07:00
2021-06-03 12:08:56 -07:00
2021-08-20 10:39:12 -07:00
2021-04-21 19:05:38 -07:00
2021-08-20 10:39:12 -07:00
2021-04-15 18:00:31 -07:00
2021-04-21 19:05:38 -07:00