You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9090a0d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: src/Symfony/Bundle/DependencyInjection/Configuration.php
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,11 @@ public function getConfigTreeBuilder(): TreeBuilder
111
111
->end()
112
112
->booleanNode('strict_resource_type')
113
113
->defaultFalse()
114
-
->info('Require the "type" member of JSON:API request resource objects (400 when missing) and reject a "type" that does not match the endpoint resource on POST (409 Conflict), per https://jsonapi.org/format/#crud-creating-responses-409.')
114
+
->info('Require the "type" member of JSON:API request resource objects (400 when missing) and reject a "type" that does not match the endpoint resource on POST, PUT and PATCH (409 Conflict), per https://jsonapi.org/format/#crud-creating-responses-409.')
115
+
->end()
116
+
->booleanNode('strict_member_names')
117
+
->defaultFalse()
118
+
->info('Expose the "id" and "type" properties as "resourceId" and "resourceType" attributes instead of "_id" and "_type", which are not valid member names per https://jsonapi.org/format/#document-member-names. The "links", "relationships" and "included" properties are no longer renamed.')
0 commit comments