The AWS Amplify CLI is a toolchain for simplifying serverless web and mobile development. This plugin provides functionality for the API category, allowing for the creation and management of GraphQL and REST based backends for your amplify project.
new AmplifyGraphqlApi(this, "Api", {
definition: <path-to-schema>,
//There should be a feature like this
codegenTypesOut: <path-to-d.ts>
//
authorizationModes: {
defaultAuthorizationMode: "API_KEY",
apiKeyConfig: {
expires: cdk.Duration.days(7),
},
},
});
Need to use those type definition while working in the lambda resolvers.
Describe the solution you'd like
--
Describe alternatives you've considered
--
Additional context
Currently I'm doing it manually with the help of @graphql-codegen/cli
Describe the feature you'd like to request
Need to use those type definition while working in the lambda resolvers.
Describe the solution you'd like
--
Describe alternatives you've considered
--
Additional context
Currently I'm doing it manually with the help of @graphql-codegen/cli
This is the codegen.ts file
Is this something that you'd be interested in working on?
Would this feature include a breaking change?