Skip to content

Commit ea0e805

Browse files
committed
docs: workflow for saving model associations
1 parent 91d2253 commit ea0e805

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/common-patterns.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,10 @@ When this record is instantiated, the `user` attribute will first be turned into
384384

385385
There's another amazing benefit from these relationships. Because `feathers-vuex` listens to real-time events and keeps data up to date, when the user record changes, the `todo.user` automatically updates!
386386

387+
### Workflow for Saving Model Associations
388+
389+
A great issue was opened on GitHub about the [Workflow for clone and save Model with associations](https://github.com/feathersjs-ecosystem/feathers-vuex/issues/278). That's a great issue to read to get familiar with the workflow.
390+
387391
## Form Binding
388392

389393
Use the Model classes to reduce the boilerplate required to work with forms and Vuex, even in strict mode! Every model instance has a `.clone()` method which can be used to get a fully-reactive copy of the record in the store. Here is a very simple version of how you could bind to a form and submit new data to the server.

0 commit comments

Comments
 (0)