File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -663,13 +663,13 @@ module.exports.RateLimitOptions = {
663663} ;
664664module . exports . RequestComplexityOptions = {
665665 graphQLDepth : {
666- env : 'PARSE_SERVER_REQUEST_COMPLEXITY_GRAPH_QLDEPTH ' ,
666+ env : 'PARSE_SERVER_REQUEST_COMPLEXITY_GRAPHQL_DEPTH ' ,
667667 help : 'Maximum depth of GraphQL field selections. Set to `-1` to disable. Default is `50`.' ,
668668 action : parsers . numberParser ( 'graphQLDepth' ) ,
669669 default : 50 ,
670670 } ,
671671 graphQLFields : {
672- env : 'PARSE_SERVER_REQUEST_COMPLEXITY_GRAPH_QLFIELDS ' ,
672+ env : 'PARSE_SERVER_REQUEST_COMPLEXITY_GRAPHQL_FIELDS ' ,
673673 help : 'Maximum number of field selections in a GraphQL query. Set to `-1` to disable. Default is `200`.' ,
674674 action : parsers . numberParser ( 'graphQLFields' ) ,
675675 default : 200 ,
Original file line number Diff line number Diff line change @@ -426,9 +426,11 @@ export interface RequestComplexityOptions {
426426 :DEFAULT: 5 */
427427 subqueryDepth: ?number ;
428428 /* Maximum depth of GraphQL field selections. Set to `-1` to disable. Default is `50`.
429+ :ENV: PARSE_SERVER_REQUEST_COMPLEXITY_GRAPHQL_DEPTH
429430 :DEFAULT: 50 */
430431 graphQLDepth: ?number ;
431432 /* Maximum number of field selections in a GraphQL query. Set to `-1` to disable. Default is `200`.
433+ :ENV: PARSE_SERVER_REQUEST_COMPLEXITY_GRAPHQL_FIELDS
432434 :DEFAULT: 200 */
433435 graphQLFields: ?number ;
434436}
You can’t perform that action at this time.
0 commit comments