UNPKG

polen

Version:

A framework for delightful GraphQL developer portals

17 lines 592 B
import { neverCase } from '@wollybeard/kit/language'; import * as AugmentationDescription from './augmentations/description.js'; export { AugmentationDescription }; export const apply = (schema, augmentations) => { for (const augmentation of augmentations) { switch (augmentation.type) { case `description`: { AugmentationDescription.apply(schema, augmentation); break; } default: neverCase(augmentation.type); } } return schema; }; //# sourceMappingURL=schema-augmentation.js.map