-
Notifications
You must be signed in to change notification settings - Fork 6
Output schema definition? #201
Copy link
Copy link
Open
Description
What is the correct way to resolve and output the schema definition? The schema is added to AppSync successfully so does exist, however, I always get "" in CfnOutputs.
this.awsAppsyncSchema = new cdk.CfnOutput(this, "awsAppsyncSchema", {
value: this.resolve( base_api.apiSchema.definition ),
});In the appsync-alpha I successfully used this, but .definition isn't available when I update it to appsync.ISchema.
this.awsAppsyncSchema = new cdk.CfnOutput(this, "awsAppsyncSchema", {
value: this.resolve( ( base_api.api.schema as unknown as { schema: appsync.Schema } ).schema.definition ),
});Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels