Skip to content

Commit

Permalink
docs(appsync): fix outdated documentation (#26591)
Browse files Browse the repository at this point in the history
Documentation for appsync GraphqlApi schema property was still referring to older method of importing schema file. This small change updates the documentation to use the correct method

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
brendanhonea authored Aug 1, 2023
1 parent f6709ac commit d5c64cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-appsync/lib/graphqlapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ export interface GraphqlApiProps {
/**
* GraphQL schema definition. Specify how you want to define your schema.
*
* Schema.fromFile(filePath: string) allows schema definition through schema.graphql file
* SchemaFile.fromAsset(filePath: string) allows schema definition through schema.graphql file
*
* @default - schema will be generated code-first (i.e. addType, addObjectType, etc.)
*
Expand Down

0 comments on commit d5c64cb

Please sign in to comment.