Skip to content

Transaction with delete then update should not fail #4831

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

Merged
merged 23 commits into from
May 15, 2023

Conversation

jamesagnew
Copy link
Collaborator

Per this mailing list discussion: https://groups.google.com/d/msgid/hapi-fhir/8c53aa54-80e2-4616-bdb0-5bc47a50eb34n%40googlegroups.com?utm_medium=email&utm_source=footer

A transaction with a delete followed by an update on the same resource currently fails. This PR fixes that, and optimizes deletes a bit too.

@codecov
Copy link

codecov bot commented May 6, 2023

Codecov Report

Patch coverage has no change and project coverage change: +1.81 🎉

Comparison is base (2f5ffe7) 81.32% compared to head (8801989) 83.13%.

❗ Current head 8801989 differs from pull request most recent head 4d0877c. Consider uploading reports for the commit 4d0877c to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #4831      +/-   ##
============================================
+ Coverage     81.32%   83.13%   +1.81%     
- Complexity    23650    25326    +1676     
============================================
  Files          1425     1542     +117     
  Lines         86399    92373    +5974     
  Branches      11677    12321     +644     
============================================
+ Hits          70265    76796    +6531     
+ Misses        10947    10147     -800     
- Partials       5187     5430     +243     

see 1501 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Collaborator

@jmarchionatto jmarchionatto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great fixes!

@jamesagnew jamesagnew merged commit 483ddca into master May 15, 2023
@jamesagnew jamesagnew deleted the ja_20230505_transaction_with_delete_and_create branch May 15, 2023 11:41
davidraeside pushed a commit that referenced this pull request May 15, 2023
* Fixed

* Test fixes

* Add test

* Ongoing work

* Work on xactx

* Cleanup

* Changelog cleanup

* Resolve fixme

* Rework broken APIs

* Version bump

* Add license headers

* License header update

* License

* rk on fixes

* Test fixes

* Address review comments

* Test fixes

* Add license headers

* License header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants