Allow absolute paths in schema files. (#192)
* Allow absolute paths in schema files. Thsi is useful for some out-of-tree testing I want to do. It's unfortunate (imo) that filepath.join doesn't have this behavior by default. Test plan: go test ./... * run gofmt * one more change to use pathJoin
This commit is contained in:
@@ -30,6 +30,7 @@ When releasing a new version:
|
||||
- genqlient can now run as a portable binary (i.e. without a local checkout of the repository or `go run`).
|
||||
- You can now enable `use_extensions` in the configuration file, to receive extensions returned by the GraphQL API server. Generated functions will return extensions as `map[string]interface{}`, if enabled.
|
||||
- You can now use `graphql.NewClientUsingGet` to create a client that uses query parameters to pass the query to the GraphQL API server.
|
||||
- In config files, `schema`, `operations`, and `generated` can now be absolute paths.
|
||||
|
||||
### Bug fixes:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user