|
1
|
{"slug":"/references/utils/GraphQLUtils/classes/utils.GraphQLUtils.GraphQLParser","title":"GraphQLParser","frontmatter":{},"toc":[{"title":"constructor","id":"constructor","level":2},{"title":"Parameters","id":"constructor-parameters","level":3},{"title":"Methods","id":"methods","level":2},{"title":"parseQuery","id":"parsequery","level":3},{"title":"Returns","id":"parsequery-returns","level":4}],"blocks":[{"kind":"markdown","html":"Remote joiner graphql parser"},{"kind":"heading","level":2,"text":"constructor","id":"constructor"},{"kind":"heading","level":3,"text":"Parameters","id":"constructor-parameters"},{"kind":"typeList","sectionTitle":"constructor","types":[{"name":"input","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variables","type":"`Record<string, unknown>`","description":"","optional":false,"defaultValue":"{}","expandable":false,"children":[]}]},{"kind":"heading","level":2,"text":"Methods","id":"methods"},{"kind":"heading","level":3,"text":"parseQuery","id":"parsequery"},{"kind":"heading","level":4,"text":"Returns","id":"parsequery-returns"},{"kind":"typeList","sectionTitle":"parseQuery","types":[{"name":"service","type":"`string`","description":"The name of the service to query.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"alias","type":"`string`","description":"The alias of the service entry point to query.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expands","type":"`object`[]","description":"Nested relationships to expand in the query result.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"property","type":"`string`","description":"The property path to the relationship to expand.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"The fields to retrieve for the expanded relationship.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"args","type":"[JoinerArgument](/references/types/interfaces/types.JoinerArgument)[]","description":"Arguments to pass to the expanded relationship query.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"The name of the argument.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`any`","description":"The value of the argument.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"directives","type":"`object`","description":"Directives to apply to fields in the expanded relationship.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fields","type":"`string`[]","description":"The fields to retrieve from the queried service.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"args","type":"[JoinerArgument](/references/types/interfaces/types.JoinerArgument)[]","description":"Arguments to pass to the service query.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"The name of the argument.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`any`","description":"The value of the argument.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"directives","type":"`object`","description":"Directives to apply to fields in the query.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} |