Skip to content

Commit 05e7dd2

Browse files
author
Dane Pilcher
authored
Add missing documentation for GraphQL Transformer feature flags. (#5033)
* add feature flag docs for shouldDeepMergeDirectiveConfigDefaults * add feature flag docs for showFieldAuthNotification * add feature flag docs for useFieldNameForPrimaryKeyConnectionField
1 parent 8b5fc0c commit 05e7dd2

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

src/components/FeatureFlags/feature-flags.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,26 @@
232232
}
233233
]
234234
},
235+
"showFieldAuthNotification": {
236+
"description": "Adds a notification of @auth security change.",
237+
"type": "Feature",
238+
"valueType": "Boolean",
239+
"versionAdded": "7.6.15",
240+
"values": [
241+
{
242+
"value": "true",
243+
"description": "A notification with a prompt will appear, after which security updates are automatically applied and no further prompt will appear",
244+
"defaultNewProject": false,
245+
"defaultExistingProject": true
246+
},
247+
{
248+
"value": "false",
249+
"description": "There is no notification of security updates",
250+
"defaultNewProject": true,
251+
"defaultExistingProject": false
252+
}
253+
]
254+
},
235255
"useSubUsernameForDefaultIdentityClaim": {
236256
"description": "Changes the default identity claim to for owner-based @auth from 'username' to 'sub::username'",
237257
"type": "Feature",
@@ -252,6 +272,26 @@
252272
}
253273
]
254274
},
275+
"useFieldNameForPrimaryKeyConnectionField": {
276+
"description": "Changes the naming convention for primary key connection fields.",
277+
"type": "Feature",
278+
"valueType": "Boolean",
279+
"versionAdded": "8.3.0",
280+
"values": [
281+
{
282+
"value": "true",
283+
"description": "Uses 'Id' in the name. (Type + RelatedType + Id)",
284+
"defaultNewProject": false,
285+
"defaultExistingProject": false
286+
},
287+
{
288+
"value": "false",
289+
"description": "Uses the related type field name in the name. (Type + RelatedType + RelatedTypeFieldName)",
290+
"defaultNewProject": true,
291+
"defaultExistingProject": true
292+
}
293+
]
294+
},
255295
"enableAutoIndexQueryNames": {
256296
"description": "Changes the behaviour of @index directive to auto-generate Queries for indexes if no 'queryField' is provided.",
257297
"type": "Feature",
@@ -292,6 +332,26 @@
292332
}
293333
]
294334
},
335+
"shouldDeepMergeDirectiveConfigDefaults": {
336+
"description": "Performs a deep merge with default directives and custom directives.",
337+
"type": "Feature",
338+
"valueType": "Boolean",
339+
"versionAdded": "9.1.0",
340+
"values": [
341+
{
342+
"value": "false",
343+
"description": "Merge default directives and custom directives with a single level depth. Custom directives will take precedent.",
344+
"defaultNewProject": true,
345+
"defaultExistingProject": true
346+
},
347+
{
348+
"value": "true",
349+
"description": "Merge default directives and custom directives with unlimitted depth. Custom directives will take precedent.",
350+
"defaultNewProject": false,
351+
"defaultExistingProject": false
352+
}
353+
]
354+
},
295355
"populateOwnerFieldForStaticGroupAuth": {
296356
"description": "Populates the owner field automatically if the user is already authorized by static user pool authorization rules",
297357
"type": "Feature",

0 commit comments

Comments
 (0)