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

Fix broken operation priorities for traced stores #41

Merged

Conversation

ilyaagarkov
Copy link
Member

I have used pattern from patronum/debug for tracing store but not sure I did everything right

As I see this changes fix problems described here effector/logger#100

@ilyaagarkov ilyaagarkov added bug Something isn't working help wanted Extra attention is needed labels Sep 16, 2022
before: scope.trace.before,
current: data,
});
before = copy(scope.state.current)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how we should use previous value with createNode

@ilyaagarkov ilyaagarkov marked this pull request as ready for review September 16, 2022 12:24
Copy link
Member

@zerobias zerobias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea itself should work, please fix imports

src/index.ts Outdated Show resolved Hide resolved
@ilyaagarkov ilyaagarkov removed the help wanted Extra attention is needed label Sep 16, 2022
@sergeysova sergeysova changed the title fix: broken operation priorities for traced stores Fix broken operation priorities for traced stores Sep 18, 2022
@sergeysova sergeysova added bug Something isn't working fix and removed bug Something isn't working labels Sep 18, 2022
Copy link
Collaborator

@sergeysova sergeysova 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.

@ilyaagarkov ilyaagarkov removed the request for review from AlexandrHoroshih September 19, 2022 07:26
@ilyaagarkov ilyaagarkov merged commit 40b06f7 into effector:master Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants