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

Better documentation about how to $persist() a record with Many-to-many relationships #169

Open
leonceaklin opened this issue Jan 23, 2021 · 0 comments

Comments

@leonceaklin
Copy link

During the setup of my first vuex-orm project with graphql I could not find a good example on how to $persist() records with many-to-many relationships. For example the documentation says that the relationships "are filtered out" but that doesn't seem to be true if they are eager loaded.
Until now I couldn't figure out the workflow of presisting such a record correctly so I would be glad if somebody more experienced could add an entry to the documentation which explains this, preferably with a method which is commonly used within GraphQL systems.
For example, I use Lighthouse for Laravel as GraphQL framework and its documentation recommends this method to store many-to-many relationships.

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

No branches or pull requests

1 participant