Skip to content

Docs: Describe removing ContextExamples in the migration doc #2195

@yamatatsu

Description

@yamatatsu

What were you searching in the docs?

In v1, @aws-lambda-powertools/commons had ContextExamples that helped our test coding.
It was written in v1 docs. See https://docs.powertools.aws.dev/lambda/typescript/1.18.1/core/logger/#inject-lambda-context.

It seems to be moved to packages/testing.

Is this related to an existing documentation section?

https://docs.powertools.aws.dev/lambda/typescript/2.0.1/upgrade/

How can we improve?

This breaking change is better to be described in migration docs I think.

Got a suggestion in mind?

Adding new row to the table;

| **Common**            | Removed `ContextExamples` and `Events` that is objects used for testing.                                                       | Yes                  |

Acknowledgment

  • I understand the final update might be different from my proposed suggestion, or refused.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippeddocumentationImprovements or additions to documentation

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions