Zaid-Ajaj / Fable.Remoting

Type-safe communication layer (RPC-style) for F# featuring Fable and .NET Apps
https://zaid-ajaj.github.io/Fable.Remoting/
MIT License
272 stars 54 forks source link

byte array in tuple does not work? #282

Closed pw242 closed 2 years ago

pw242 commented 2 years ago

Hi, is there a known issue with including byte array as part of a tuple in the function signature for Fable remoting APIs? I have

getImage : (string * string) -> Async<ActionResult<string * byte array>> 
addImage : (string * string * string * byte array) -> Async<ActionResult<unit>>

In my API type. I can see that when I try to call these from the client, the wrong function is called on the server - not even the right name in the POST as logged by the server. If I change byte array to int, the correct function is called. Hence I don't think I've made a mistake.