-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Net5.0 & fable3 #415
Net5.0 & fable3 #415
Conversation
Fable.Remoting#201 - Fable.Remoting.Giraffe broken in Giraffe 5 is a blocker for this upgrade where latest Giraffe v5.0-pre that works with net5 isn't compatible with the Giraffe adapter from Fable.Remoting. It's a bit tricky on remoting side of things because upgrading the adapter also break backward-compat with applications using Giraffe [>= 3.6 && < 5] |
Thanks for the heads up. Until that issue is solved I'll pin Giraffe version to below v5 |
@theprash do you think it's a good idea to move away from paket-based dependencies for fake build script and instead use the |
@theimowski I just pushed a new version of Fable.Remoting.Giraffe v5.0.0-rc-6 that uses latest prerelease of Giraffe targeting |
@theimowski we've tried and it doesn't work for some reason that I don't fully understand (but Prash does). I think for now we've had to run our FAKE scripts via fsi or something. |
@theimowski The main reason for moving was that FAKE seems to be tied to its own paket version which didn't support .NET 5. However, I never really liked the fake-cli approach, though I'm sure it has some advantages. One problem is that RE package resolution, no I don't think you can have completely reproducible package resolution with this method if NuGet doesn't provide it. Another option is to run FAKE as a console project instead. I quite like this approach because you can easily use paket and you don't need any special tooling like fake-cli or any special |
Yeah I think @Zaid-Ajaj also likes the idea of invoking FAKE via standard fsproj rather than fsx. I'll experiment with that approach. |
Need to park updating to latest Giraffe prerelease, as Saturn needs to catch up SaturnFramework/Saturn#281 |
af5bc09 is a PoC of using FAKE in fsproj rather than as fsx script |
Updated the PR to latest prerelease of Saturn and Giraffe - seems to work nice locally. |
Giraffe is now on stable v5.0, the only outstanding prerelease versions we depend in this PR are following (pinging maintainers to ask if we can expect a stable release soon?):
|
@theimowski there's another blocker we've noticed recently which is related to Fable Remoting (we think) that's causing issues on Azure - it's forcing you to run in 64 bit mode which isn't available on the free tier, which I really want to keep. |
@theimowski I think removing Babel is fine as long as we have a recipe for adding support for IE |
v5 of this package is in lockstep with Giraffe itself, so now that the latter is stable, there's no technical reason that I know of why Fable.Remoting.Giraffe should not follow suit. @isaacabraham, how do you figure? By process of elimination? Please open an issue if you know more. |
@kerams there's already some open issue on Fable.Remoting (I think!) - I think it's related to another library though - one by Eirik Tsarpalis (though I can't remember the name). @Akash-Mair can you let us know where that issue is / was? |
It's Zaid-Ajaj/Fable.Remoting#226, but I took it that the problem had been resolved. The new report is based on the current stable version of the template, right? If that's the case, I believe it could be referring to an old version of Remoting without the fix |
@theimowski A stable package of Fable.Remoting.Giraffe v5.0 has been published that depends on Giraffe v5.0 There were also bug fixes to Fable.Remoting.Client which can also be updated to latest v7.12.0 (char type serialization / ignoring connectivity errors when status code = 0 of HTTP requests) |
@theimowski @Zaid-Ajaj there's a PR open that upgrades all deps to latest. |
Update paket deps include Farmer.
Wow. I think we're good to do - there's a conflict on the project-local json that I think can be overwritten by what's in this branch? |
Makes sense yes, the conflict shouldn't matter much and the latest changes by Dependabot are already taken into account: Dependabot latest PR
|
Yeah the conflict can probably be even resolved locally if necessary - just force merge using this branch changes as it diverged quite significantly from master anyway. |
# Conflicts: # Content/minimal/package-lock.json # README.md
@theimowski right, everything looks ready. let's do it! |
Beta 4 works for me, but beta 5 and 3.0.0 give this error: PS D:\data-vs-code-workspaces\SAFEDir> dotnet new SAFE --force |
I see the same issue as comintel |
My bad - for some reason I had a dirty directory locally that got packaged into the nupkg. Should be solved now with 3.0.1 |
Thanks, that fixed it for me! Looking forward to getting started on my F# web journey |
Working perfectly now for me also, THANK YOU |
No description provided.