Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to combine mutations and queries together #60

Open
mohamad-qb opened this issue May 4, 2023 · 2 comments
Open

How to combine mutations and queries together #60

mohamad-qb opened this issue May 4, 2023 · 2 comments
Assignees
Labels
bug Something isn't working will be resolved in a major release Feature or bug will be resolved in the next major release
Milestone

Comments

@mohamad-qb
Copy link

I have a rest api with lots of mutation and I would love to create a single store per model that combine both queries and mutations together:

image

image

@lukemorales
Copy link
Owner

I know this would be a neat feature, but the type-system is already pretty complex as is (a result of that is that the types for createMutationKeys are broken and fixing it demands more time that I have currently available to it).
We need to have createMutationKeys working first, to only then think how we could merge both functionalities

@lukemorales lukemorales added the bug Something isn't working label Feb 12, 2024
@lukemorales lukemorales added this to the v2 milestone Feb 12, 2024
@lukemorales lukemorales added the will be resolved in a major release Feature or bug will be resolved in the next major release label Feb 12, 2024
@lukemorales lukemorales self-assigned this Feb 12, 2024
@chrisisler
Copy link

I enjoyed using this package on a recent small app and it would be awesome to have this feature!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working will be resolved in a major release Feature or bug will be resolved in the next major release
Projects
None yet
Development

No branches or pull requests

3 participants