-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add Update(before, after) API for senses #1267
Conversation
C# Unit Tests98 tests 98 ✅ 5s ⏱️ Results for commit 10e672a. ♻️ This comment has been updated with latest results. |
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 looks like a good start, though SenseDiffToUpdate
needs to be changed to remove the code doing the diff on semantic domains and instead in in SenseSync.Sync
it needs to do a collection diff and use the apis AddSemanticDomainToSense
and the remove variant, if there's any differences between the same domains those should be ignored.
Done in commit 95441bb. |
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 thanks!
Since merging |
@rmunn yes that's expected, you can configure that test to ignore SemanticDomains, that set of tests is really only checking the diff update produced on the basic fields of an object, eg changes which go through |
ed47f90
to
db8aff0
Compare
Note that this PR has the (after, before) ordering in it; that will be fixed by #1303, so we should not change it here lest merge resolution end up doing the wrong thing. |
Rebasing into develop pulled in a change that LfClassicMiniLcmApi didn't yet implement. Since LF Classic doesn't handle complex forms, the implementation is dead simple: just return null.
Fix #1186.
Adds a new UpdateSense(Guid entryId, Sense before, Sense after) method to the IMiniLcmWriteApi interface.
Also adds a GetSense(Guid entryId, Guid id) method to the IMiniLcmReadApi interface.