I am mostly missing something. But couldn’t figure it out. It would be great if someone can point me into right direction.
Thanks for quick reply. I’m using service stack client library with Fable-Elmish .
It is working great in dev mode. Without any issues. Means I don’t have to provide URL. Library is figuring out.
But currently whole no URL option broke for me in minified code.
Fable-ElMish: it is wrapper around react and redux to provide elm architecture in F#. Fable transpile to ES6 and then bable transpile to current java script. And all magic happens using web pack.
This description isn’t helpful, please provide the exact source code that’s causing the issue, including the libraries you’re using as well as the DTOs. i.e. provide all relevant info in order to be able to reproduce the issue.
Here is the project to reproduce the issue. You can follow read me to run it in dev mode.
So, you can run any local server for public folder (I am using node http-server). It will run everything but while hitting server it is coming as http://sometodourl/json/reply/e .
PS: sometodourl I put as dummy url. As I am just testing for generated url while hitting network.
PS: This was the demo I was talking about a little back. Years back in early days of Servicestack you introduce the concept of message passing for communication with server for dot net. Now, every latest java-script architecture like Elm, Fable-Elmish is using it. They force server framework to think in message passing and as servicestack is already having concept it; it fits right into it. Even here I just copy -pasted DTOs and they are used directly as model. I don’t have to translate it anyway. And thanks for seeing the future way back in past.
I’ve just ran into this issue after getting our minified production build for React. Our project is JS / JSX, and we use the TypeScript DTO’s transpiled to js and minified, but receive all the same errors. @mythz was there something else we have to do to make this work?