You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be reopened as #25 fixed only part of the issue.
@snewcomer I tried to look into what's up with snapshot()/restore() - looks like it has the same issue as get changes had and does not play nice with nested keys. I'll submit PR to fix it in the same way as I did in #25.
Here is quick reproduction: https://codesandbox.io/s/infallible-meadow-yzt61
Looks like it's been working just fine in ember-changeset@2 because
this._changes
had format:validated-changeset
has structure likeso this iteration fails https://github.com/validated-changeset/validated-changeset/blob/master/src/index.ts#L558-L561
Also,
changes
getter does not work as expected as it returnsThe text was updated successfully, but these errors were encountered: