-
Notifications
You must be signed in to change notification settings - Fork 265
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
Unison local Definition Diffs API #4964
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.
I know this output is really hard to read, but it will at least serve as a regression test to ensure the diffs don't break unexpectedly.
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.
Lol, you're not wrong.
@ChrisPenner go ahead and merge these once the tests are passing |
Overview
Adds definition diff API to Unison Local.
Implementation notes
Adds
/api/projects/<slug>/diff/terms
and/api/projects/<slug>/diff/types
which return the same format as ShareTest coverage
Added a simple transcript test
Loose ends
Not sure when we'll have time to add this to the UI, but at the very least it serves as a mechanism to add some testing for the feature in
unison
rather than just inshare-api
cc @hojberg