How to use the @fullstack-one/helper.AHelper.requireFilesByGlobPatternAsObject function in @fullstack-one/helper

To help you get started, we’ve selected a few @fullstack-one/helper examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fullstack-build / fullstack-one / packages / graphql / lib / index.ts View on Github external
private async addApplicationResolvers(): Promise {
    const resolversPattern = this.ENVIRONMENT.path + this.graphQlConfig.resolversPattern;
    const resolversObject = await AHelper.requireFilesByGlobPatternAsObject>(resolversPattern);
    this.addResolvers(resolversObject);
  }