We're excited to announce Batch resolvers in GraphQL Event Handler to tackle the infamous N+1 problem in GraphQL šŖ, making it easier to work with batching in AWS AppSync.
Thanks to @ādanieljnchen, the validation utility now supports referencing internal schemas within your JSON files. š
You can now use a batch resolver to handle batch requests coming from AWS AppSync. This is useful when AWS AppSync has batching enabled for Lambda Resolvers as it allows the aggregation of as many requests as possible before invoking your AWS Lambda function, effectively solving the N+1 problem in GraphQL.
You can now control JSON schema references with custom handlers. This is useful when you might want to optimize caching, reducing HTTP calls, or fetching them from non-HTTP endpoints.
Last but not least, @āscampbell5 helps us fix the types for partition and offset in the KafkaEventRecord Event Source Data Class.
Changes
šNew features and non-breaking changes
feat(event-handler): add appsync batch resolvers (#1998) by @āmploski
feat(validation): support JSON Schema referencing in validation utils (#4508) by @ādanieljnchen
š Documentation updates
feat(event-handler): add appsync batch resolvers (#1998) by @āmploski
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps aws-lambda-powertools[aws-sdk] from 2.36.0 to 2.40.1.
Release notes
Sourced from aws-lambda-powertools[aws-sdk]'s releases.
... (truncated)
Changelog
Sourced from aws-lambda-powertools[aws-sdk]'s changelog.
... (truncated)
Commits
9cd3523
chore: version bumpc873d16
chore(ci): new pre-release 2.40.1a1 (#4653)0c3b48f
fix(event_handler): current_event regression AppSyncResolver Router (#4652)a8f988d
chore(ci): changelog rebuild (#4651)d2ba427
chore(ci): new pre-release 2.40.1a0 (#4648)8933312
chore(deps-dev): bump cfn-lint from 1.3.7 to 1.4.1 (#4646)0e037a2
chore(deps-dev): bump sentry-sdk from 2.7.0 to 2.7.1 (#4645)c5bde10
chore(ci): changelog rebuild (#4643)7eacda1
chore(ci): layer docs update (#4642)e50e48a
chore(ci): bump version to 2.40.0 (#4641)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show