-
Notifications
You must be signed in to change notification settings - Fork 132
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
Check array fields normalizations when converting to multipart/form-data #274
Comments
A partial fix was implemented in The "fix" is partial because there are still 2 edge cases that are not handled - when a The reason for this is because the SDK doesn't have information about the field types and doesn't know which field is a If you are having troubles with persisting await pb.collection("example").create({
// having a Blob/File as object value will convert the request to multipart/form-data
"someFileField": new Blob([123]),
"someJsonField": JSON.stringify(["a","b","c"]),
}) A proper fix for this will be implemented with PocketBase v0.21.0 where we'll have support for a special |
Related to pocketbase/pocketbase#4150.
The text was updated successfully, but these errors were encountered: