ExpandArgumentsDepth Parameter (Connect-GraphQL Cmdlet)
This property is used to determine how far the provider should search for columns inside the arguments of type INPUT_OBJECT.
Syntax
Connect-GraphQL -ExpandArgumentsDepth int
Data Type
int
Default Value
2
Remarks
This property is used to determine how far the 本製品 should search for columns inside the arguments of type INPUT_OBJECT. For example:
{ "variables": { "input": { "filters": { "type": "SUPPLIER" } } }, "query": "query($input:FilteredCompaniesInput!) {\r\nfilteredCompanies(input:$input) {\r\nid:id\r\nvalue:value\r\n}\r\n}\r\n" }for the SQL query:
SELECT id,value FROM filteredCompanies WHERE type='SUPPLIER'In this case the nested "FilteredCompaniesInput" is itself of type INPUT_OBJECT. In a column search, the ExpandColumnsDepth property controls how many nested levels of type INPUT_OBJECT are subjected to searching.