Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Fix DHP-1140: Add rest of adherence fields to upload metadata #238

Merged
merged 5 commits into from
Nov 6, 2023

Conversation

nategbrown9
Copy link
Collaborator

No description provided.

Copy link
Contributor

@Erin-Mounts Erin-Mounts left a 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

Copy link
Collaborator

@syoung-smallwisdom syoung-smallwisdom left a 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.

@github-actions
Copy link

github-actions bot commented Oct 30, 2023

Unit Test Results

  33 files    33 suites   7s ⏱️
  80 tests   80 ✔️ 0 💤 0
120 runs  120 ✔️ 0 💤 0

Results for commit dede7ab.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@syoung-smallwisdom syoung-smallwisdom left a 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. ¯_(ツ)_/¯

@nategbrown9 nategbrown9 merged commit 7a6b067 into main Nov 6, 2023
3 checks passed
@nategbrown9 nategbrown9 deleted the nbrown/add-adherence-metadata branch November 6, 2023 21:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants