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

Documentation Update: Usage of FeathersVuexFormWrapper and diffOnPatch only with eager option #520

Closed
jniclas opened this issue Aug 29, 2020 · 1 comment

Comments

@jniclas
Copy link

jniclas commented Aug 29, 2020

I use a Model with the FeathersVuexFormWrapper. For patches I also use the Model method diffOnPatch.
diffOnPatch takes the new data and fetches old data from the store to get the difference.
But if the FeathersVuexFormWrapper attribute "eager" is set to true, the clone is first commited and afterwards saved. So the store is updated, before the diffOnPatch is executed and the method can't figure out a difference.
It is solved by setting the attribute "eager" to false. Could you update the documentation?

(sorry for not using the template)

Best regards and thank you for creating this wonderful tool,
Niclas

@marshallswain
Copy link
Member

I've updated the docs. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants