Closed Supereg closed 4 weeks ago
Attention: Patch coverage is 88.88889%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 70.76%. Comparing base (
7ba1ed8
) to head (80dab24
). Report is 1 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
...es/SpeziScheduler/UserInfo/UserStorageCoding.swift | 57.15% | 3 Missing :warning: |
Customize encoders and decoders for UserStorage Properties
:recycle: Current situation & Problem
SpeziScheduler uses the property list encoders and decoders by default for UserStorage properties for an efficient encoded representation. Certain types don't quite work well with the property list encoder. For example FHIRs ModelR4 seem to be heavily tailored towards a JSON representation and fail to decode when using property lists. Therefore, this PR adds the ability to customize the encoder and decoder used with a Property.
:gear: Release Notes
coding
argument to theProperty
macro.:books: Documentation
Documentation was supplied.
:white_check_mark: Testing
Additional unit testing verifies the updated macro generation.
:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines: