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.
I believe it will be useful if we can omit some properties when using Query attribute.
For example, I have query model:
public class QueryParams
{
[AliasAs("data")]
public string Data { get; set; }
// Some property for internal use only. Should be omitted in any query
public string SomeForInternalUse { get; set; }
}
The problem described in bug
I believe it will be useful if we can omit some properties when using Query attribute. For example, I have query model:
and some query:
I need to ignore property
SomeForInternalUse
My proposals:
[QueryIgnore]
attribute