⚡️ Accept array of string as valid input schema path. (#134)
* ⚡️ Fixes #88. Accept array of string as valid input schema path.
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ When releasing a new version:
|
||||
### New features:
|
||||
|
||||
- genqlient now generates getter methods for all fields, even those which do not implement a genqlient-generated interface; this can be useful for callers who wish to define their own interface and have several unrelated genqlient types which have the same fields implement it.
|
||||
|
||||
- genqlient config now accepts either a single or multiple schema files for the `schema` field.
|
||||
### Bug fixes:
|
||||
|
||||
- In certain very rare cases involving duplicate fields in fragment spreads, genqlient would generate code that failed to compile due to duplicate methods not getting promoted; genqlient now generates correct types. (See #126 for a more complete description.)
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
|
||||
# The filename with the GraphQL schema (in SDL format), relative to
|
||||
# genqlient.yaml.
|
||||
# This can also be a list of filenames, such as:
|
||||
# schema:
|
||||
# - user.graphql
|
||||
# - ./schema/*.graphql
|
||||
# - ./another_directory/**/*.graphqls
|
||||
schema: schema.graphql
|
||||
|
||||
# Filenames or globs with the operations for which to generate code, relative
|
||||
|
||||
Reference in New Issue
Block a user