I have:
public class Query {...}
public interface IClient
{
[Get("/api/endpoint?data={query}")]
Task<Result> GetData(Query query);
}
but Refit on the Query instance calls ToString instead of using the serializer. Is there any way to achieve this without using a wrapper class?