Skip to content

Commit 4e4aec3

Browse files
authored
Merge pull request overblog#369 from Inego/fix-md-01-from-0.11
[Doc] Fix typos and make better phrasing in "Security" section
2 parents 195f9b8 + c5793c5 commit 4e4aec3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/security/fields-public-control.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Fields public Control
22
=====================
33

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.
55
If `config.fields.*.public` value is true or is not set, the field will be visible.
66
If value is false, then the field will be removed (in any query, including inspection queries).
77

@@ -20,7 +20,7 @@ AnObject:
2020

2121
```
2222

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:
2424

2525
```yaml
2626
AnObject:
@@ -34,6 +34,6 @@ AnObject:
3434
type: "String"
3535
```
3636
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
3838
type name and current field name, meaning you can apply a per field `public` setting on all the
3939
fields with one line of yaml.

docs/security/handle-cors.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ Handle CORS
22
===========
33

44
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...
66

7-
The handler is disabled by default. To enabled it:
7+
The handler is disabled by default. To enable it:
88

99
```yaml
1010
overblog_graphql:
@@ -13,7 +13,7 @@ overblog_graphql:
1313
handle_cors: true
1414
```
1515
16-
Here the values of the headers that will be returns on preflight request:
16+
These headers will be returned on preflight requests:
1717
1818
Headers | Value
1919
-------------------------------- | ---------------------------------------

0 commit comments

Comments
 (0)