@@ -670,27 +670,27 @@ module.exports.RateLimitOptions = {
670670module . exports . RequestComplexityOptions = {
671671 graphQLDepth : {
672672 env : 'PARSE_SERVER_REQUEST_COMPLEXITY_GRAPHQL_DEPTH' ,
673- help : 'Maximum depth of GraphQL field selections. Set to `-1` to disable. Default is `50 `.' ,
673+ help : 'Maximum depth of GraphQL field selections. Set to `-1` to disable. Default is `-1 `.' ,
674674 action : parsers . numberParser ( 'graphQLDepth' ) ,
675- default : 50 ,
675+ default : - 1 ,
676676 } ,
677677 graphQLFields : {
678678 env : 'PARSE_SERVER_REQUEST_COMPLEXITY_GRAPHQL_FIELDS' ,
679- help : 'Maximum number of field selections in a GraphQL query. Set to `-1` to disable. Default is `200 `.' ,
679+ help : 'Maximum number of field selections in a GraphQL query. Set to `-1` to disable. Default is `-1 `.' ,
680680 action : parsers . numberParser ( 'graphQLFields' ) ,
681- default : 200 ,
681+ default : - 1 ,
682682 } ,
683683 includeCount : {
684684 env : 'PARSE_SERVER_REQUEST_COMPLEXITY_INCLUDE_COUNT' ,
685- help : 'Maximum number of include paths in a single query. Set to `-1` to disable. Default is `50 `.' ,
685+ help : 'Maximum number of include paths in a single query. Set to `-1` to disable. Default is `-1 `.' ,
686686 action : parsers . numberParser ( 'includeCount' ) ,
687- default : 50 ,
687+ default : - 1 ,
688688 } ,
689689 includeDepth : {
690690 env : 'PARSE_SERVER_REQUEST_COMPLEXITY_INCLUDE_DEPTH' ,
691- help : 'Maximum depth of include pointer chains (e.g. `a.b.c` = depth 3). Set to `-1` to disable. Default is `5 `.' ,
691+ help : 'Maximum depth of include pointer chains (e.g. `a.b.c` = depth 3). Set to `-1` to disable. Default is `-1 `.' ,
692692 action : parsers . numberParser ( 'includeDepth' ) ,
693- default : 5 ,
693+ default : - 1 ,
694694 } ,
695695 queryDepth : {
696696 env : 'PARSE_SERVER_REQUEST_COMPLEXITY_QUERY_DEPTH' ,
@@ -700,9 +700,9 @@ module.exports.RequestComplexityOptions = {
700700 } ,
701701 subqueryDepth : {
702702 env : 'PARSE_SERVER_REQUEST_COMPLEXITY_SUBQUERY_DEPTH' ,
703- help : 'Maximum nesting depth of `$inQuery`, `$notInQuery`, `$select`, `$dontSelect` subqueries. Set to `-1` to disable. Default is `5 `.' ,
703+ help : 'Maximum nesting depth of `$inQuery`, `$notInQuery`, `$select`, `$dontSelect` subqueries. Set to `-1` to disable. Default is `-1 `.' ,
704704 action : parsers . numberParser ( 'subqueryDepth' ) ,
705- default : 5 ,
705+ default : - 1 ,
706706 } ,
707707} ;
708708module . exports . SecurityOptions = {
0 commit comments