powertools-lambda-dotnet icon indicating copy to clipboard operation
powertools-lambda-dotnet copied to clipboard

chore: AOT support for Logging and Metrics

Open hjgraca opened this issue 6 months ago • 16 comments

Please provide the issue number

Issue number: #212

Summary

  • Logging AOT support
  • Metrics AOT support

Changes

  • Logging
    • Remove Logging lambda context reflection
    • Add PowertoolsSourceGenerationContext for types discovery at compile time
  • Metrics
    • Add MetricsSerializationContext for types discovery at compile time

Checklist

Please leave checklist items unchecked if they do not apply to your change.

Is this a breaking change?

RFC issue number:

Checklist:

  • [ ] Migration process documented
  • [ ] Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

hjgraca avatar Feb 21 '24 14:02 hjgraca