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: add converter for form patches to mutate patches #44

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

bjoerge
Copy link
Member

@bjoerge bjoerge commented Jan 8, 2025

This exports FormCompatEncoder that provides a method to convert form patches (as emitted from input components) to mutations compatible with sanity mutate. This one piece of the puzzle making it possible to use this package with ordinary sanity forms and input components

Copy link

vercel bot commented Jan 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mutate-example-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 8, 2025 2:41pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
mutate-example-visual-editing ⬜️ Ignored (Inspect) Jan 8, 2025 2:41pm

@bjoerge bjoerge requested a review from ricokahler January 8, 2025 14:43
Copy link

@ricokahler ricokahler left a comment

Choose a reason for hiding this comment

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

very nice!

@bjoerge bjoerge merged commit bd384fe into main Jan 9, 2025
9 checks passed
@bjoerge bjoerge deleted the form-builder-compat branch January 9, 2025 08:43
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