All files / domains/schema index.ts

92.86% Statements 13/14
100% Branches 0/0
66.67% Functions 2/3
100% Lines 13/13
1 2 3 4 5 6 7 8 9 10 11 12 139x 9x 9x 9x 9x 9x 9x 9x 9x   3x 3x 3x
export { schemaRegistry } from './registry';
import { schemaRegistry } from './registry';
import { compileSchema } from './compiler';
export { compileSchema } from './compiler';
export { Query } from './rootFields';
 
export function Schema(): ClassDecorator {
  return target => {
    const compiler = () => compileSchema(target);
    schemaRegistry.set(target, compiler);
  };
}