feat(offline-dynamodb-streams): table does not have streams error#98
Closed
dolsem wants to merge 1 commit into
Closed
feat(offline-dynamodb-streams): table does not have streams error#98dolsem wants to merge 1 commit into
dolsem wants to merge 1 commit into
Conversation
|
How can I fix the error? do you have some code examples? |
silouone
added a commit
that referenced
this pull request
Jun 19, 2026
…no-streams fixes - Serverless v4 logger migration (src/log.js shim threaded in; handler errors are now logged). - Fix undefined this.region -> this.options.region so emitted events carry awsRegion. Re-implements #166 (thanks @zlalvani). - Throw a clear 'Table <name> does not have streams enabled' error instead of failing cryptically. Re-implements #98 (thanks @dolsem). - Rename the copy-pasted KinesisEvent class to DynamodbStreamsEvent. - Backward compatible with serverless v3. Adds docker-free unit tests. v7.1.0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Member
|
Thanks @dolsem for surfacing a clear "table does not have streams" error instead of the cryptic crash users used to hit — a much nicer developer experience. This is now implemented in #265 (on master now, released shortly in the next release of |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently if a table without streams is provided to
serverless-offline-dynamodb-streams, it crashes withMissingRequiredParameter: Missing required key 'StreamArn' in params. This PR adds a more descriptive error.