iluvadev / PocketBaseClient

C# client to interact with a particular PocketBase application: an ORM mapped to your PocketBase server. [This project is in active development. The things described below could change]
MIT License
33 stars 8 forks source link

🐛bug: Operation is not supported on this platform. #46

Open neozhu opened 1 month ago

neozhu commented 1 month ago

System.PlatformNotSupportedException: Operation is not supported on this platform. at System.Net.Http.HttpClientHandler.Send(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpMessageInvoker.Send(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.Send(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken) at System.Net.Http.HttpClient.Send(HttpRequestMessage request, CancellationToken cancellationToken) at pocketbase_csharp_sdk.PocketBase.Send[PagedCollectionModel1](String path, HttpMethod method, IDictionary2 headers, IDictionary2 query, IDictionary2 body, IEnumerable`1 files, CancellationToken cancellationToken) in D:\github\BlazorPocketApp\sdk\pocketbase-csharp-sdk\PocketBase.cs:line 249

https://github.com/dotnet/maui/issues/10470

image

not support synchronized methods in web assembly

neozhu commented 1 month ago

https://github.com/dotnet/runtime/blob/1281a4a3393e9293aa4b379d619a692d6dcb62a4/src/libraries/System.Net.Http/src/System/Net/Http/HttpClientHandler.AnyMobile.cs#L710

neozhu commented 1 month ago

I have fixed this bug and imp IAsyncEnumerable, GetItemsInternalAsync,GetPagedItemsAsync, GetPagedItems image

VictorioBerra commented 3 weeks ago

@iluvadev is this library still supported? I am considering using it but there is multiple issues that are going unanswered.

neozhu commented 3 weeks ago

@iluvadev is this library still supported? I am considering using it but there is multiple issues that are going unanswered.

If possible, I would also like to join the collaborative project. I have fixed and enhanced some functions.

iluvadev commented 2 weeks ago

@iluvadev is this library still supported? I am considering using it but there is multiple issues that are going unanswered.

If possible, I would also like to join the collaborative project. I have fixed and enhanced some functions.

Hello, I haven't had time to spend on my open projects for a long time... @neozhu thank you very much for the trust and for wanting to continue the development that I can't push forward now. I have added you as a contributor.

I'm so sorry I didn't respond to all open topics.