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

Integration tests doc removed #310

Closed OnurGumus closed 2 years ago

OnurGumus commented 2 years ago

I have seen, you removed integration tests from the new docs. But then how do you do them without proxy? CreateApi always asks for a base url.

Zaid-Ajaj commented 2 years ago

Hi there @OnurGumus, indeed I removed the docs but will add them back one-by-one because I wanted to revise them thoroughly. This document seems like I can added back without changes.

As for your question, I didn't think about it before 🤔 however, does it work when you provide "/" as the base URL in Remoting.createApi?

OnurGumus commented 2 years ago

Thanks, it works. When you use "/" then it points to "file:///...." and it is ignored. I use the client.BaseAddress.ToString() which is saner. But it may confuse other people.

Zaid-Ajaj commented 2 years ago

I use the client.BaseAddress.ToString() which is saner

@OnurGumus I'll keep it in mind when I re-upload the document. Old docs are still here btw

Zaid-Ajaj commented 2 years ago

Done! Added back this document and explained how to use the latest API