Refit serialization problem #1581
-
Using Refit 7.0
Instead if I have this:
I can't do this..
What's weird is I can only pass a list of 24 GUIDS and if anything more, the web api only sees a null value. On the other hand, if I serialize the list of guids, I can pass 5000 guids. I ran into similar issue with DateTime type until I converted it to string. This doesn't work at all. I got a malformed json error or similar. The only way I can pass the datetime is if I stringify it first.
I can't do this..
Why is this happening? and how can I fix it. I like refit but issues like this doesn't give me much confidence. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I think I figured out the issue with the
Why is this not a default?! I wasted so many hours trying so many things. Please make it a default. If someone wants to stream their content, let them explicitly set it. |
Beta Was this translation helpful? Give feedback.
I think I figured out the issue with the
List<Guid>
model problem. I had to addBuffered: true
to the Body attribute.Why is this not a default?! I wasted so many hours trying so many things. Please make it a default. If someone wants to stream their content, let them explicitly set it.