Closed abhishekkumams closed 2 weeks ago
dab configure
--runtime.graphql.depth-limit
dab configure --runtime.graphql.depth-limit 20
if limit is not already specified, it will add this property to config, else update it.
dab configure --runtime.graphql.depth-limit -1
initial config
"graphql": { "path": "/graphql", "enabled": true, "allow-introspection": true }
command: dab configure --runtime.graphql.depth-limit 20
"graphql": { "path": "/graphql", "enabled": true, "allow-introspection": true, "depth-limit": 20 }
command: dab configure --runtime.graphql.depth-limit 8
dab configure --runtime.graphql.depth-limit 8
"graphql": { "path": "/graphql", "enabled": true, "allow-introspection": true, "depth-limit": 8 }
command: dab configure --runtime.graphql.depth-limit -1
"graphql": { "path": "/graphql", "enabled": true, "allow-introspection": true, "depth-limit": -1 }
Special Case: if value of "depth-limit" is null in the config. it will stay as is, if not updated.
"graphql": { "path": "/graphql", "enabled": true, "allow-introspection": true, "depth-limit": null }
command: dab configure
No change:
/azp run
Why make this change?
What is this change?
dab configure
, which will allow updates for non-entity based config settings.--runtime.graphql.depth-limit
, which will be used to specify the depth limit for GraphQL queries and mutation.dab configure --runtime.graphql.depth-limit 20
.NOTE:
if limit is not already specified, it will add this property to config, else update it.
dab configure --runtime.graphql.depth-limit -1
How was this tested?
Sample Request(s)
initial config
command:
dab configure --runtime.graphql.depth-limit 20
command:
dab configure --runtime.graphql.depth-limit 8
command:
dab configure --runtime.graphql.depth-limit -1
Special Case: if value of "depth-limit" is null in the config. it will stay as is, if not updated.
command:
dab configure
No change: