google / android-fhir

The Android FHIR SDK is a set of Kotlin libraries for building offline-capable, mobile-first healthcare applications using the HL7® FHIR® standard on Android.
https://google.github.io/android-fhir/
Apache License 2.0
481 stars 259 forks source link

Remove wrapping transaction for single read api #2560

Closed LZRS closed 3 months ago

LZRS commented 3 months ago

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).

Fixes #2552

Description Removes wrapping of db transaction for single resources reads to prevent potential blocking

Alternative(s) considered Have you considered any alternatives? And if so, why have you chosen the approach in this PR?

Type Choose one: (Bug fix | Feature | Documentation | Testing | Code health | Builds | Releases | Other)

Screenshots (if applicable)

Checklist

jingtang10 commented 3 months ago

thanks for this @LZRS!