Closed reneederer closed 1 year ago
Hi,
you can replicate the error by cloning https://github.com/reneederer/maptest
Basically, I created a new SAFE project from the template and changed ITodosApi in Shared.fs to
{ getTodos: unit -> Async<Map<int option, Todo list>> addTodo: Todo -> Async<Todo> }
When the call to getTodos returns a Map with a "None" key, the client throws an error: Input string was not in a correct format.
Input string was not in a correct format.
This could potentially be a Fable.SimpleJson problem.
@reneederer This is an issue with https://github.com/Zaid-Ajaj/Fable.Remoting so please could you raise an issue there? Thank you.
Hi,
you can replicate the error by cloning https://github.com/reneederer/maptest
Basically, I created a new SAFE project from the template and changed ITodosApi in Shared.fs to
When the call to getTodos returns a Map with a "None" key, the client throws an error:
Input string was not in a correct format.