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

rm notifyPropertyChange from specific spots #510

Merged
merged 4 commits into from
Jun 29, 2020

Conversation

snewcomer
Copy link
Collaborator

Testing this out. With @tracked, I don't know if we need these or not.

@@ -87,10 +86,6 @@ export class EmberChangeset extends BufferedChangeset {
addError(key, error) {
super.addError(key, error);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

https://github.com/validated-changeset/validated-changeset/blob/40676661e52ec2733ff1606607d9f68d5781a7c6/src/index.ts#L559

For example, addError will set the ERRORS object and since it is tracked, anything consuming it will pull in a new value

@snewcomer snewcomer merged commit 73a0f2a into master Jun 29, 2020
@snewcomer snewcomer deleted the sn/rm-notifyPropertyChange branch June 29, 2020 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant