()
| 7 | import {scalas} from './schema/scalas'; |
| 8 | |
| 9 | function loadBaseSchema(): GraphQLSchema { |
| 10 | const schema = buildASTSchema(scalas); |
| 11 | return extendSchema(schema, directives); |
| 12 | } |
| 13 | |
| 14 | export function buildSchemaFromFile(path: string): GraphQLSchema { |
| 15 | return buildSchemaFromString(fs.readFileSync(path).toString()); |
no outgoing calls
no test coverage detected