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

Mutation API rework #100

Open
mattkrick opened this issue Aug 9, 2016 · 0 comments
Open

Mutation API rework #100

mattkrick opened this issue Aug 9, 2016 · 0 comments

Comments

@mattkrick
Copy link
Owner

The mutation API should be more functional. We can make it more reduxy by providing an optimistic and response callback.

Additionally, a general problem with cashay-- when i accept an invitation i want both the new team member and a JWT, which would be a custom mutation payload. But, since there is no query that uses the JWT, cashay will never generate a request for it. Granted, we're doing something really weird by working off the the mutation's promise, so it's an edge case for sure. With the new mutation API, we should be able to add additional fields that we want to fetch.

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