-
Notifications
You must be signed in to change notification settings - Fork 118
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
refactor: plugin.diff.file|type -> plugin.detectChanges #3175
refactor: plugin.diff.file|type -> plugin.detectChanges #3175
Conversation
- simpler API - no redundant reporting of before and after closes opral/lix-sdk#40
|
key: string; | ||
glob: string; | ||
glob?: string; |
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.
Making glob optional because it's only used for plugin.detectChanges
.
@@ -137,15 +133,11 @@ test("resolving a conflict should throw if the to be resolved with change is not | |||
|
|||
const mockPlugin: LixPlugin = { | |||
key: "plugin1", | |||
glob: "*", |
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.
Removing all redundant properties that are not tested.
@martin-lysk straightforward change after our sync. no explicit review request. if you find something lmk |
@martin-lysk if you reviewed and merges this, go ahead and merge #3177 too which builds on this PR |
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 got to review some changes in the tests but here is the WIP review
closes opral/lix-sdk#40