-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[aws-appsync] refactor schema definition mode #9301
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-appsyncRelated to AWS AppSyncRelated to AWS AppSyncfeature-requestA feature should be added or improved.A feature should be added or improved.in-progressThis issue is being actively worked on.This issue is being actively worked on.p2
Description
Currently appsync schema definition mode is not strongly typed.
Use Case
Make schema definition more clearly configured. Set up for code-first schema definition.
Proposed Solution
by file
const api = new appsync.GraphQLApi(stack, 'api', {
schemaDefinition: appsync.SchemaDefinition.FILE,
schemaDefinitionFile: fileLocation
});by code
const api = new appsync.GraphQLApi(stack, 'api', {
schemaDefinition: appsync.SchemaDefinition.CODE,
});
api.updateDefinition(definition);- 👋 I may be able to implement this feature request
-
⚠️ This feature might incur a breaking change
This is a 🚀 Feature Request
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-appsyncRelated to AWS AppSyncRelated to AWS AppSyncfeature-requestA feature should be added or improved.A feature should be added or improved.in-progressThis issue is being actively worked on.This issue is being actively worked on.p2