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

feat: export mutations #242

Merged
merged 2 commits into from
Feb 21, 2023
Merged

feat: export mutations #242

merged 2 commits into from
Feb 21, 2023

Conversation

pyphilia
Copy link
Contributor

Export mutations directly with their types.

@pyphilia pyphilia requested a review from spaenleh February 20, 2023 16:04
@pyphilia pyphilia self-assigned this Feb 20, 2023
Copy link
Member

@spaenleh spaenleh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎖️ Looks good ! Would be nice it it is possible to deprecate only the export of MUTATION_KEYS so consumers of the package know that they should switch to hooks.

Awesome work !

example/src/App.tsx Outdated Show resolved Hide resolved
src/mutations/chat.test.ts Outdated Show resolved Hide resolved
src/mutations/chat.test.ts Outdated Show resolved Hide resolved
src/mutations/chat.test.ts Show resolved Hide resolved
@pyphilia pyphilia merged commit a1fa06b into main Feb 21, 2023
@pyphilia pyphilia deleted the export-mutations branch February 21, 2023 13:58
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

Successfully merging this pull request may close these issues.

2 participants