-
Notifications
You must be signed in to change notification settings - Fork 6
Fix DHP-1140: Add rest of adherence fields to upload metadata #238
Conversation
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.
looks good to me
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.
This will break iOS uploads.
Obj-c does not support Kotlin JsonElement
objects. It also doesn't support automatic assignment to null so changes the UploadMetadata
object must include building the XCFramework binary and fixing uploading to support it. Sorry.
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.
Need to update the XCFramework binary before merging. There is a build configuration that you can use: createSwiftPackage
I think that we are creating tech debt here. Really, we should have an upload request take an optional AdherenceRecord
object rather than "metadata" where the "metadata" is expected to match a subset of the AdherenceRecord
properties. Just too many calls to services and too much room for typos. That said, I recognize that doing so is a more time-consuming refactor. ¯_(ツ)_/¯
No description provided.