Skip to content

fix(graphql-request): Exporting GraphQLRequestModuleConfig interface - #539

Merged
underfisk merged 2 commits into
golevelup:masterfrom
vizio360:ExportModuleConfigInterface
Dec 14, 2022
Merged

fix(graphql-request): Exporting GraphQLRequestModuleConfig interface#539
underfisk merged 2 commits into
golevelup:masterfrom
vizio360:ExportModuleConfigInterface

Conversation

@vizio360

Copy link
Copy Markdown
Contributor

Exporting GraphQLRequestModuleConfig interface to be able to use it when creating config classes like so:

...
imports: [
        ConfigModule.forFeature(corePdfClientConfig),
        GraphQLRequestModule.forRootAsync(GraphQLRequestModule, {
            useClass: CorePdfClientConfig,
            imports: [M2MAuthModule],
        }),
    ],

...

export class CorePdfClientConfig implements ModuleConfigFactory<GraphQLRequestModuleConfig> {

…to be able to use it when creating config classes.
@underfisk
underfisk merged commit 5d2b640 into golevelup:master Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants