reactiveui / refit

The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your REST API into a live interface.

Home Page:https://reactiveui.github.io/refit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Unable to deserialize to a readonly record struct

ekjuanrejon opened this issue ยท comments

Describe the bug ๐Ÿž

unable to deserialize to a readonly record struct

Step to reproduce

Create a readonly record struct

public readonly record struct MyRecord
{
}

[Get("")]
Task<ApiResponse> GetMyRecordAsync(string recordId);

Reproduction repository

https://github.com/reactiveui/refit

Expected behavior

deserialize to readonly record struct

Screenshots ๐Ÿ–ผ๏ธ

No response

IDE

No response

Operating system

No response

Version

No response

Device

No response

Refit Version

No response

Additional information โ„น๏ธ

No response

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.