(schema: string)
| 131 | } |
| 132 | |
| 133 | export const buildGraphQLSchema = (schema: string) => { |
| 134 | return buildSchema(schema, { |
| 135 | noLocation: true, |
| 136 | assumeValid: true, |
| 137 | assumeValidSDL: true, |
| 138 | }) |
| 139 | } |
| 140 | |
| 141 | export async function getClientSchema( |
| 142 | introspectionUrl: string, |