Skip to content

Commit

Permalink
hide required for root types, show only for references
Browse files Browse the repository at this point in the history
  • Loading branch information
taras-dubyk committed Dec 17, 2024
1 parent de005f3 commit 6fad577
Showing 1 changed file with 66 additions and 5 deletions.
71 changes: 66 additions & 5 deletions properties_pane/field_level/fieldLevelConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,17 @@ making sure that you maintain a proper JSON format.
"scalar": [
"name",
"description",
{
"propertyName": "Required",
"propertyKeyword": "required",
"propertyType": "checkbox",
"propertyTooltip": "Check if this field is required",
"enableForReference": true,
"dependency": {
"key": "ref",
"exist": true
}
},
{
"propertyName": "Directives",
"propertyKeyword": "directive",
Expand All @@ -411,7 +422,17 @@ making sure that you maintain a proper JSON format.
"name",
"enum",
"description",
"required",
{
"propertyName": "Required",
"propertyKeyword": "required",
"propertyType": "checkbox",
"propertyTooltip": "Check if this field is required",
"enableForReference": true,
"dependency": {
"key": "ref",
"exist": true
}
},
{
"propertyName": "Directives",
"propertyKeyword": "directive",
Expand All @@ -425,7 +446,17 @@ making sure that you maintain a proper JSON format.
"object": [
"name",
"description",
"required",
{
"propertyName": "Required",
"propertyKeyword": "required",
"propertyType": "checkbox",
"propertyTooltip": "Check if this field is required",
"enableForReference": true,
"dependency": {
"key": "ref",
"exist": true
}
},
{
"propertyName": "Directives",
"propertyKeyword": "directive",
Expand All @@ -441,7 +472,17 @@ making sure that you maintain a proper JSON format.
"interface": [
"name",
"description",
"required",
{
"propertyName": "Required",
"propertyKeyword": "required",
"propertyType": "checkbox",
"propertyTooltip": "Check if this field is required",
"enableForReference": true,
"dependency": {
"key": "ref",
"exist": true
}
},
{
"propertyName": "Directives",
"propertyKeyword": "directive",
Expand All @@ -457,7 +498,17 @@ making sure that you maintain a proper JSON format.
"union": [
"name",
"description",
"required",
{
"propertyName": "Required",
"propertyKeyword": "required",
"propertyType": "checkbox",
"propertyTooltip": "Check if this field is required",
"enableForReference": true,
"dependency": {
"key": "ref",
"exist": true
}
},
{
"propertyName": "Directives",
"propertyKeyword": "directive",
Expand All @@ -471,7 +522,17 @@ making sure that you maintain a proper JSON format.
"input": [
"name",
"description",
"required",
{
"propertyName": "Required",
"propertyKeyword": "required",
"propertyType": "checkbox",
"propertyTooltip": "Check if this field is required",
"enableForReference": true,
"dependency": {
"key": "ref",
"exist": true
}
},
{
"propertyName": "Directives",
"propertyKeyword": "directive",
Expand Down

0 comments on commit 6fad577

Please sign in to comment.