-
Notifications
You must be signed in to change notification settings - Fork 18
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
feat: implement transaction context #389
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #389 +/- ##
==========================================
+ Coverage 97.41% 97.68% +0.26%
==========================================
Files 26 31 +5
Lines 1239 1382 +143
==========================================
+ Hits 1207 1350 +143
Misses 32 32
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
025121a
to
4675572
Compare
Signed-off-by: Lukas Reining <lukas.reining@codecentric.de>
Signed-off-by: Lukas Reining <lukas.reining@codecentric.de>
Signed-off-by: Lukas Reining <lukas.reining@codecentric.de>
4675572
to
67e4368
Compare
Signed-off-by: Lukas Reining <lukas.reining@codecentric.de>
Signed-off-by: Lukas Reining <lukas.reining@codecentric.de>
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 work, just added a few minor comments
openfeature/transaction_context/no_op_transaction_context_propagator.py
Outdated
Show resolved
Hide resolved
openfeature/transaction_context/transaction_context_propagator.py
Outdated
Show resolved
Hide resolved
…agator.py Co-authored-by: Anton Grübel <anton.gruebel@gmail.com> Signed-off-by: Lukas Reining <lukas.reining@codecentric.de>
86620c2
to
1e93e32
Compare
Signed-off-by: Lukas Reining <lukas.reining@codecentric.de>
1e93e32
to
bb0e8bc
Compare
I'll give @federicobond till end of week to leave some comments, otherwise will merge this and close the previous draft. |
Implements transaction context as described in #292.
This is done the same as in Node, the callback we have for Node is not needed with context vars, like it is in Java.
@federicobond just after I did the changes I saw you PR from May:
Sorry, I could have just continued test on this one.
We basically did the same but I added some tests also for the context merging.