diff --git a/CHANGELOG.md b/CHANGELOG.md index e89139c0..f86c18d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CHANGELOG +## 6.18.4 +- fix typo in README + ## 6.18.3 - fix for the case when multiple documents were included in request https://github.com/comigor/artemis/issues/251 diff --git a/README.md b/README.md index 92a112cf..ec4e11b2 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ Each `SchemaMap` is configured this way: | `output` | | Relative path to output the generated code. It should end with `.graphql.dart` or else the generator will need to generate one more file. | | `schema` | | Relative path to the GraphQL schema. | | `queries_glob` | | Glob that selects all query files to be used with this schema. | -| `naming_scheme` | `pathedWithTypes` | The naming scheme to be used on generated classes names. `pathedWithTypes` is the default for retrocompatibility, where the names of previous types are used as prefix of the next class. This can generate duplication on certain schemas. With `pathedWithFields`, the names of previous fields are used as prefix of the next class and with `simple`, only the actual GraphQL class nameis considered. | +| `naming_scheme` | `pathedWithTypes` | The naming scheme to be used on generated classes names. `pathedWithTypes` is the default for retrocompatibility, where the names of previous types are used as prefix of the next class. This can generate duplication on certain schemas. With `pathedWithFields`, the names of previous fields are used as prefix of the next class and with `simple`, only the actual GraphQL class name is considered. | | `type_name_field` | `__typename` | The name of the field used to differentiatiate interfaces and union types (commonly `__typename` or `__resolveType`). Note that `__typename` field are not added automatically to the query. If you want interface/union type resolution, you need to manually add it there. | See [examples](./example) for more information and configuration options. diff --git a/pubspec.yaml b/pubspec.yaml index d6775b09..efd86d69 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: artemis -version: 6.18.3 +version: 6.18.4 description: Build dart types from GraphQL schemas and queries (using Introspection Query). homepage: https://github.com/comigor/artemis