-
Notifications
You must be signed in to change notification settings - Fork 81
Update to Symfony 4, pt.1 #647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
773075f
325200b
4eed073
1dc1fd4
e4d33f2
02a19f8
616713c
8fc7559
8043542
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,7 @@ You can customize the GraphQL schema that is generated from your repository. | |
|
|
||
| You can use it if your application requires custom GraphQL resources, for instance for Doctrine entities. | ||
|
|
||
| To do so, create an `app/config/graphql/Query.types.yml` file. It will be used as the GraphQL query root. | ||
| To do so, create an `app/config/graphql/Query.types.yaml` file. It will be used as the GraphQL query root. | ||
|
|
||
| In that file, add new fields that use any custom type or custom logic you require, based | ||
| on [overblog/GraphQLBundle](https://github.com/overblog/GraphQLBundle). | ||
|
|
@@ -17,7 +17,7 @@ You can include the eZ Platform schema in two ways: either through inheritance o | |
|
|
||
| #### Inheritance | ||
|
|
||
| To use inheritance, apply the following configuration in `app/config/graphql/Query.types.yml`: | ||
| To use inheritance, apply the following configuration in `app/config/graphql/Query.types.yaml`: | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above. |
||
|
|
||
| ``` yaml | ||
| Query: | ||
|
|
@@ -33,7 +33,7 @@ Query: | |
| #### Composition | ||
|
|
||
| To use composition, define eZ Platform schema as a field in your custom schema. | ||
| For example, in `app/config/graphql/Query.types.yml`: | ||
| For example, in `app/config/graphql/Query.types.yaml`: | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same |
||
|
|
||
| ``` yaml | ||
| Query: | ||
|
|
@@ -49,7 +49,7 @@ Query: | |
| ### Custom mutations | ||
|
|
||
| Custom mutations are created in the same way as custom query configuration. | ||
| An `app/config/graphql/Mutation.types.yml` file will be used as the source for mutation definitions in your schema. | ||
| An `app/config/graphql/Mutation.types.yaml` file will be used as the source for mutation definitions in your schema. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above. |
||
|
|
||
| ``` yaml | ||
| Mutation: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Path to types file will change but I have to fix GraphQL package first. I will ping you once it done.