Skip to content

Commit d5c64cb

Browse files
authored
docs(appsync): fix outdated documentation (#26591)
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*
1 parent f6709ac commit d5c64cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/aws-cdk-lib/aws-appsync/lib/graphqlapi.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ export interface GraphqlApiProps {
314314
/**
315315
* GraphQL schema definition. Specify how you want to define your schema.
316316
*
317-
* Schema.fromFile(filePath: string) allows schema definition through schema.graphql file
317+
* SchemaFile.fromAsset(filePath: string) allows schema definition through schema.graphql file
318318
*
319319
* @default - schema will be generated code-first (i.e. addType, addObjectType, etc.)
320320
*

0 commit comments

Comments
 (0)