-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Errors with Ember v3.22 #553
Comments
* [Deps]: bump 3.22 close #553 * Add a bit more to the save catch test
@josemarluedke Happen to know if it tracks back to your codebase or do all signs point to this addon? I certainly have seen this many times and I know work has been done in emberjs to address some of these things. Also here is an ember-data issue with similar problems (only in development). There is still one PR to land below as well. |
@snewcomer I apologize. You are right, the issues were not in the addon itself, but rather how I was interacting with it. I had two main issues:
I do wonder if the second issue could be avoided somehow in the addon? Thanks for quickly confirming that there were no issues in the addon. |
It is an interesting question. I can see both sides. I might lean one way though. Since these errors can be triggered with an infinite number of user land examples and is a necessity in protecting data integrity, my feeling is it should always be on the user. We might be chasing our tail if any data mutation hook needed to protect against this scenario. |
FYI - |
Hi, @snewcomer. After upgrading
In order for this message to go away, would |
@snewcomer I realized that the error was my fault, my apologies. I was updating the changeset on an input's |
Hi everyone. I'm trying to upgrade one of our app to Ember v3.22 and seeing a lot of this deprecations. I'm just creating a changeset and setting value to a property. What's the best way to avoid this? @snewcomer
Thanks. |
@sinankeskin 👋 This is similar to this case. You might have to adjust when/how the changes is created then updated. The problem is something was read-then-written in the same computation in the same "tick". |
I've fixed this with a creating middle classes. Works perfect now. Thanks a lot @snewcomer Appreciated. |
Just tried upgrading an app to Ember v3.22 and started getting some errors in changeset.
The same happens with
_errors
as well.Version
changeset v 3.8.2 (also tested with latest version but same occurs. )
ember v 3.22
The text was updated successfully, but these errors were encountered: