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

Switch the default server function codec to json #3602

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ealmloff
Copy link
Member

This PR switches from URL encoded post requests to Json as the default server function encoding. The JSON encoding handles more rust types which avoid some confusing errors with empty data structures. This isn't semvar breaking on the rust side, but it is a breaking change for any 3rd party server function consumers

Fixes #2628

@ealmloff ealmloff added breaking This is a breaking change fullstack related to the fullstack crate labels Jan 20, 2025
@ealmloff ealmloff requested a review from a team as a code owner January 20, 2025 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking This is a breaking change fullstack related to the fullstack crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

structs containing Vec<T>, HashSet<T> and HashMap<T, T> are not working with Signal/ServerFn
1 participant