aws-samples / aws-cdk-examples

Example projects using the AWS CDK
Apache License 2.0
5.08k stars 2.14k forks source link

fix(ts/appsync-graphql): replace 'addDependsOn' with 'addDependency' … #958

Closed nexckycort closed 9 months ago

nexckycort commented 11 months ago

Replace 'addDependsOn' with 'addDependency' for 'apiSchema' resolution.

In order to maintain compatibility and adhere to best practices, I updated the code to utilize 'addDependency' instead of 'addDependsOn', which was deprecated. This ensures cleaner code and alignment with the project's latest conventions.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.