igdb-dotnet
igdb-dotnet copied to clipboard
Migrate to refit
Unfortunately, RestEase is not compatible with Xamarin.iOS cause:
It won't work on platforms which don't support runtime code generation, including .NET Native and iOS.
Would be great if it would be ported to Refit instead of RestEase.
I'm currently upgrading to IGDBv4. I could explore this perhaps... 🤔
I created a small Refit rest client using your lib here: https://github.com/roubachof/Sharpnado.TaskLoaderView/blob/master/Retronado/Sample/Domain/IGDBRefitClient.cs
Tried using this with AvaloniaUI, and that didn't work out. I suspect it's for the same reason as above as RestEase is spitting out errors.
I second migrating! For now i'll borrow the client @roubachof made
Will be looking at this. IGDB recently added new game version support so have to add that as a patch and at that time I can see about Refit. Anything that helps improve cross platform support is a win in my book. Thanks for all the feedback!