aws-powertools / powertools-lambda-java

Powertools is a developer toolkit to implement Serverless best practices and increase developer velocity.
https://docs.powertools.aws.dev/lambda/java/
MIT No Attribution
287 stars 91 forks source link

Maintenance: V2 updates - review interface & propose improvements for Serialization module #1470

Open scottgerring opened 12 months ago

scottgerring commented 12 months ago

Summary

We should use the V2 release as an opportunity to reflect upon the interfaces of our existing modules and identify areas of improvement. This work has been done as part of rewrites for some modules, and in isolation for others - check out #1283 for details.

We should also integrate the v4 of aws-lambda-java-events.

Why is this needed?

Which area does this relate to?

Serialization

Solution

  1. A review of the current module, its public interface and structure, and potential areas for improvement documented on this ticket for discussion
  2. A draft PR against the v2 branch showing the high level impact of proposed changes
  3. PR completed and merged into v2

Acknowledgment

jeromevdl commented 10 months ago

somehow linked to #1479

scottgerring commented 9 months ago

Investigation Notes

Re-assessing the list of events supported in events v3 I see no events with user-defined payloads we are not already handling.

Modules that use ObjectMapper directly in v2:

Internal dependencies on the powertools-serialization module:

Screenshot 2024-01-04 at 13 22 32
scottgerring commented 9 months ago

Open questions: