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

Save reference to Store inside Resource #19

Closed
joepio opened this issue Sep 24, 2020 · 0 comments
Closed

Save reference to Store inside Resource #19

joepio opened this issue Sep 24, 2020 · 0 comments

Comments

@joepio
Copy link
Member

joepio commented Sep 24, 2020

Many methods of a resource will require a store. Every time the resource is updated, the store needs to be updated. This currently means that a store has to be explicitly passed to every mutation to a resource. Not cool! We can fix this by saving a reference to the store.

joepio added a commit that referenced this issue Sep 24, 2020
@joepio joepio closed this as completed Sep 24, 2020
joepio added a commit that referenced this issue Sep 24, 2020
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