-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: use definition instead of schema #187
fix: use definition instead of schema #187
Conversation
Closes #186 Signed-off-by: Scott Schreckengaust <scottschreckengaust@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a conformation .. is this change because of the build warning of appsync schema ?
yes |
yes |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #187 +/- ##
=======================================
Coverage 93.83% 93.83%
=======================================
Files 18 18
Lines 5593 5597 +4
Branches 122 122
=======================================
+ Hits 5248 5252 +4
Misses 345 345 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Scott Schreckengaust <scottschreckengaust@users.noreply.github.com>
Closes awslabs#186 Signed-off-by: Scott Schreckengaust <scottschreckengaust@users.noreply.github.com>
feat: combining all parent 364274d author github-actions <github-actions@github.com> 1702080482 +0000 committer Patrick <ocopatr@amazon.com> 1705428058 -0800 chore(deps): upgrade dependencies Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/awslabs/generative-ai-cdk-constructs/actions/runs/7147565079 ------ *Automatically created by projen via the "upgrade-main" workflow* Signed-off-by: github-actions <github-actions@github.com> chore(deps): upgrade dependencies Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/awslabs/generative-ai-cdk-constructs/actions/runs/7161144540 ------ *Automatically created by projen via the "upgrade-main" workflow* Signed-off-by: github-actions <github-actions@github.com> chore(doc): update documentation and generate new list of models to deploy chore(deps): upgrade dependencies Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/awslabs/generative-ai-cdk-constructs/actions/runs/7174960686 ------ *Automatically created by projen via the "upgrade-main" workflow* Signed-off-by: github-actions <github-actions@github.com> feat: qa concurrency props fix(constructs): fix log group name fix(lint): run linter fix(lint): differentiate name feat(doc): update readme with additional resources chore(deps): upgrade dependencies Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/awslabs/generative-ai-cdk-constructs/actions/runs/7228300421 ------ *Automatically created by projen via the "upgrade-main" workflow* Signed-off-by: github-actions <github-actions@github.com> chore(deps): upgrade dependencies Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/awslabs/generative-ai-cdk-constructs/actions/runs/7255404764 ------ *Automatically created by projen via the "upgrade-main" workflow* Signed-off-by: github-actions <github-actions@github.com> chore(deps): upgrade dependencies Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/awslabs/generative-ai-cdk-constructs/actions/runs/7325128447 ------ *Automatically created by projen via the "upgrade-main" workflow* Signed-off-by: github-actions <github-actions@github.com> chore: upgrading package versions Docs no longer support langchain 0.0.329 Signed-off-by: Patrick O'Connor <35761519+oconpa@users.noreply.github.com> fix(config): update .projenrc.ts Add IDE specific ignore folders Signed-off-by: Michael Walker <michaelhuytran@gmail.com> feat(configs): add gitignore for IDE files ci(projen): uncapping cdk version to allow usage with latest cdk less pip error ci(projen): lowest build version feat(layer): additional packages prop, rename of layers for ease, typing from layer construct fix: remove console log statements Signed-off-by: Scott Schreckengaust <scottschreckengaust@users.noreply.github.com> feat(constructs): add how to section for testing constructs feat(docs): add screenshots fix(readme): update README.md Co-authored-by: Scott Schreckengaust <scottschreckengaust@users.noreply.github.com> Signed-off-by: Michael Walker <michaelhuytran@gmail.com> fix(readme): update README.md Co-authored-by: Scott Schreckengaust <scottschreckengaust@users.noreply.github.com> Signed-off-by: Michael Walker <michaelhuytran@gmail.com> fix(readme): update README.md Co-authored-by: Scott Schreckengaust <scottschreckengaust@users.noreply.github.com> Signed-off-by: Michael Walker <michaelhuytran@gmail.com> feat(docs): move to developer guide feat(docs): move to developer guide fix: ts-jest configuration under globals Projen 0.78.9 fixes the warning: > (WARN) Define `ts-jest` config under `globals` is deprecated Signed-off-by: Scott Schreckengaust <scottschreckengaust@users.noreply.github.com> fix: correct opt-out logic (awslabs#183) fix: correct opt-out logic * dynamically fetch version from the package.json * include the name of the class * string format * camel case solution_id variable and move into context --------- Signed-off-by: Scott Schreckengaust <scottschreckengaust@users.noreply.github.com> feat(construct): new construct for deployment of custom models to sagemaker (awslabs#180) * feat(construct): New construct CustomSagemakerEndpoint Fixes (New construct): Add support to deploy custom models to a sagemaker endpoint awslabs#150 * chore(construct): Update documentation * feat(construct): Add new projen task to run the code generation step (create list of available containers / jumpstart models). Can be used through projen generate-models-containers * chore(construct): Update list of available models * fix(construct): Fixes (gen-ai): JumpStartSageMakerEndpoint not working awslabs#179 : address the issue of some models from JumpStart which can't be deployed. This is due to the construct requiring model data to be provided as a compressed object, however some newer JumpStart models provide uncompressed model artifacts. Tested the fix with the reported model - whisper base 2.0.0. Deployed model and ran inference. This requires an upgrade of cdk as the update to the L1 CloudFormation resource was added recently (addition of the property https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnModel.ModelDataSourceProperty.html) chore(deps): upgrade dependencies (awslabs#188) Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/awslabs/generative-ai-cdk-constructs/actions/runs/7482301025 ------ *Automatically created by projen via the "upgrade-main" workflow* Signed-off-by: github-actions <github-actions@github.com> Co-authored-by: github-actions <github-actions@github.com> fix: use definition instead of schema (awslabs#187) Closes awslabs#186 Signed-off-by: Scott Schreckengaust <scottschreckengaust@users.noreply.github.com> feat: add husky with a convential commit check (awslabs#189) Signed-off-by: Scott Schreckengaust <scottschreckengaust@users.noreply.github.com> fix(doc): Update README.md (awslabs#190) Remove duplicated section from the readme Signed-off-by: Alain Krok <alkrok@amazon.com> fix: do not require husky downstream (awslabs#192) Signed-off-by: Scott Schreckengaust <scottschreckengaust@users.noreply.github.com> chore(doc): Update README_custom_sagemaker_endpoint.md (awslabs#191) Fix image not displayed Signed-off-by: Alain Krok <alkrok@amazon.com> chore(deps): upgrade dependencies (awslabs#194) Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/awslabs/generative-ai-cdk-constructs/actions/runs/7508788235 ------ *Automatically created by projen via the "upgrade-main" workflow* Signed-off-by: github-actions <github-actions@github.com> Co-authored-by: github-actions <github-actions@github.com>
use the
GraphqlApiProps#definition
, https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appsync.Definition.html, instead ofGraphqlApiProps#schema
, https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appsync.ISchema.htmlNOTE: This required the aws-cdk-lib from version
2.88.0
->2.94.0
Fixes #186
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.