You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there. I am working on a more scalable version of this library that is simpler, with a more modern set of features. File handling/uploads will be a part of that. I will push up a branch with these changes some time in the next couple weeks, and would love any input.
The reason it didn't happen in this version is because of the different methods for uploading-- http body vs multipart-form upload. To match behavior with the JS PocketBase client, the "create" and "update" requests need to be content-aware and upload the data with multi-form if there is an image included (else use the request body). The way the previous library was pieced together with Alamofire made this less than ideal to maintain.
Working to get this repo more fully tested before getting started on the file upload handling. Rest assured, this change is coming in the next couple months (if all goes to plan).
No description provided.
The text was updated successfully, but these errors were encountered: