-
Notifications
You must be signed in to change notification settings - Fork 26
chore: AOT support for Idempotency #653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: AOT support for Idempotency #653
Conversation
…dempotencySerializationContext.cs and Serializer. Update code to use both serializers
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #653 +/- ##
===========================================
+ Coverage 73.42% 73.43% +0.01%
===========================================
Files 203 203
Lines 8173 8181 +8
Branches 877 878 +1
===========================================
+ Hits 6001 6008 +7
- Misses 1880 1881 +1
Partials 292 292
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
…a-dotnet into aot(idempotency|jmespath)-aot-support
…a-dotnet into aot(idempotency|jmespath)-aot-support
- Implemented AOT-Function with idempotency configuration and handler. - Created AOT-FunctionHandlerTest and AOT-FunctionPayloadSubsetTest projects. - Updated FunctionTests to include AOT-specific tests for idempotency. - Enhanced documentation to include AOT support details.
…a-dotnet into aot(idempotency|jmespath)-aot-support
…pport' into aot(idempotency|jmespath)-aot-support
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one @hjgraca! APPROVED!
#if NET8_0_OR_GREATER | ||
[Obsolete("Idempotency uses MD5 and does not support other hash algorithms.")] | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I think make sense we add this in other runtime because we don't allow customer to bring others hash algorithm.
Issue number: #212
Summary
Changes
Support for AOT in Idempotency and JMESPath.
Done:
User experience
For serlializing client types inside Idempotency we now have a new method
WithJsonSerializationContext
.This method receives the client JsonSerializationContext
Checklist
Please leave checklist items unchecked if they do not apply to your change.
Is this a breaking change?
RFC issue number:
Checklist:
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.