How to use the @graphql-codegen/plugin-helpers.resolveExternalModuleAndFn function in @graphql-codegen/plugin-helpers

To help you get started, we’ve selected a few @graphql-codegen/plugin-helpers 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 dotansimha / graphql-code-generator / packages / plugins / other / visitor-plugin-common / src / naming.ts View on Github external
return (str: string, opts: ConvertOptions = {}) => {
        return convertNameParts(str, resolveExternalModuleAndFn(config.namingConvention[type]), getConfigValue((opts || {}).transformUnderscore, true));
      };
    }
github dotansimha / graphql-code-generator / packages / plugins / other / visitor-plugin-common / src / naming.ts View on Github external
return (str: string, opts: ConvertOptions = {}) => {
        return convertNameParts(str, resolveExternalModuleAndFn(config.namingConvention), getConfigValue((opts || {}).transformUnderscore, false));
      };
    }