@terascope/data-types / graphql-helper
graphql-helper
Functions
formatGQLDescription()
formatGQLDescription(
desc?,prefix?):string
Defined in: data-types/src/graphql-helper.ts:14
Parameters
| Parameter | Type |
|---|---|
desc? | string |
prefix? | string |
Returns
string
formatSchema()
formatSchema(
schemaStr,removeScalars):string
Defined in: data-types/src/graphql-helper.ts:4
Parameters
| Parameter | Type | Default value |
|---|---|---|
schemaStr | string | undefined |
removeScalars | boolean | false |
Returns
string