Skip to content
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

modify merge-activity for improved upsert #99

Merged
merged 1 commit into from
Nov 19, 2024
Merged

Conversation

milt
Copy link
Member

@milt milt commented Nov 18, 2024

merge-activity, originally designed as part of the in-memory LRS, would only accept merged updates to activity definition name and description.
This PR changes the merge function so that it allows replace-updates to scalar and array definition fields, with the exception of interaction activity fields. These are only updated atomically so they are cleared from the first activity definition prior to merge if they are at all present on the second.

@milt milt merged commit 5b51952 into master Nov 19, 2024
6 checks passed
@milt milt deleted the activity_merge_bug branch November 19, 2024 12:27
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.

3 participants