Walk parent directories to find config file (#141)

Code is mostly borrowed from [gqlgen](https://github.com/99designs/gqlgen).

The idea here is that I want to be able to store `genqlient.yaml` at the top-level, but my client code lives down in `graph/client/`. I put the `//go:generate` line in `graph/client/client.go`.
This commit is contained in:
John Maguire
2021-10-21 21:43:34 -04:00
committed by GitHub
parent 9ecc62e285
commit 10dc388016
14 changed files with 193 additions and 6 deletions
View File