GetFullSchemaHTTPResponse returns a string representation of the HTTP response returned by the full schema{} query. It uses the user provided predicates and types along with the initial internal schema to generate the string. Example response looks like: { "data": { "schema": [ ... ], "typ
(opts SchemaOptions)
| 95 | // } |
| 96 | // } |
| 97 | func GetFullSchemaHTTPResponse(opts SchemaOptions) string { |
| 98 | return `{"data":` + GetFullSchemaJSON(opts) + `}` |
| 99 | } |
| 100 | |
| 101 | // GetFullSchemaJSON returns a string representation of the JSON object returned by the full |
| 102 | // schema{} query. It uses the user provided predicates and types along with the initial internal |
searching dependent graphs…