File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
Fields public Control
2
2
=====================
3
3
4
- You can use ` config.fields.*.public ` to control if a field needs to be removed the results.
4
+ You can use ` config.fields.*.public ` to control if a field needs to be removed from the results.
5
5
If ` config.fields.*.public ` value is true or is not set, the field will be visible.
6
6
If value is false, then the field will be removed (in any query, including inspection queries).
7
7
@@ -20,7 +20,7 @@ AnObject:
20
20
21
21
```
22
22
23
- You can also use ` config.fieldsDefaultPublic ` to handle the setting globally on an object :
23
+ You can also use ` config.fieldsDefaultPublic ` to handle the setting globally on an object:
24
24
25
25
``` yaml
26
26
AnObject :
@@ -34,6 +34,6 @@ AnObject:
34
34
type : " String"
35
35
` ` `
36
36
37
- Have you noticed ` typeName` and `fieldName` here ? This variables are always set to the current
37
+ Have you noticed ` typeName` and `fieldName` here? These variables are always set to the current
38
38
type name and current field name, meaning you can apply a per field `public` setting on all the
39
39
fields with one line of yaml.
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ Handle CORS
2
2
===========
3
3
4
4
The bundle comes out of the box with a generic and simple CORS (Cross-Origin Resource Sharing) handler
5
- but we recommends using [ NelmioCorsBundle] ( https://github.com/nelmio/NelmioCorsBundle ) for more flexibility...
5
+ but we recommend using [ NelmioCorsBundle] ( https://github.com/nelmio/NelmioCorsBundle ) for more flexibility...
6
6
7
- The handler is disabled by default. To enabled it:
7
+ The handler is disabled by default. To enable it:
8
8
9
9
``` yaml
10
10
overblog_graphql :
@@ -13,7 +13,7 @@ overblog_graphql:
13
13
handle_cors : true
14
14
` ` `
15
15
16
- Here the values of the headers that will be returns on preflight request :
16
+ These headers will be returned on preflight requests :
17
17
18
18
Headers | Value
19
19
-------------------------------- | ---------------------------------------
You can’t perform that action at this time.
0 commit comments