Simple way to create a RequestQueryParamSerializer for all DateTimes? #190
-
I created my own public interface ISomeApi
{
[Get("foo")]
Task FooAsync([Query(QuerySerializationMethod.Serialized)] DateTimeOffset param);
} If I use I do not see a way to call |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
That is indeed how things are. If you want to defer to another serializer, instantiate that serializer in your serializer. Don't forget that format strings are supported, if that covers your use-case. |
Beta Was this translation helpful? Give feedback.
That is indeed how things are. If you want to defer to another serializer, instantiate that serializer in your serializer.
Don't forget that format strings are supported, if that covers your use-case.