Skip to content

F# no longer supported #8088

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

Open
cmeeren opened this issue Mar 4, 2025 · 6 comments
Open

F# no longer supported #8088

cmeeren opened this issue Mar 4, 2025 · 6 comments

Comments

@cmeeren
Copy link
Contributor

cmeeren commented Mar 4, 2025

Product

Hot Chocolate

Is your feature request related to a problem?

The v15 migration docs state that F# support was dropped in favor of FSharp.HotChocolate, but FSharp.HotChocolate has never worked with v15.

This means that HotChocolate dropped F# support with no way to get it working again, apart from staying at v14.

There is an open issue where I have repeatedly tried to get help with getting it to work after the changes HotChocolate made in v15 (referring to a specific HC commit included in 15.0.0-p.12 that broke FSharp.HotChocolate).

The solution you'd like

To get the previously promised help fixing this. See the issue linked above for details.

Please let me know if there is any information I can provide to aid the process, or if this is on your list but not at the top. Currently, all I'm hearing is crickets.

@cmeeren
Copy link
Contributor Author

cmeeren commented Mar 4, 2025

For what it's worth, the breaking change was the removal of Option<_> from HC's internal type-system unwrapping (permalink). If you were to add a way for other libraries to extend that unwrapping, I think the problem could easily be solved, and it would likely also make me able to clean up support for F#'s Async<_> (similar to Task<_>).

@michaelstaib michaelstaib added this to the HC-15.2.0 milestone Mar 16, 2025
@michaelstaib
Copy link
Member

We have scheduled work for this for 15.2, at the moment there is no harm done for the F# community to stay on 14.x as almost all features of 15 are source generator driven and would not work with F# anyway.

@cmeeren
Copy link
Contributor Author

cmeeren commented Mar 16, 2025

Thank you for clarifying!

@michaelstaib
Copy link
Member

#8134

@michaelstaib
Copy link
Member

Once 15.1 is out I will create a preview build for you...

on TypeInfo there will be a static helper methods RegisterNonEssentialWrapperTypes in which you can pass generic type definitions like Task<> or Option<>.

@cmeeren
Copy link
Contributor Author

cmeeren commented Mar 17, 2025

Thanks, appreciate it. The API looks like what I need. Looking forward to the prerelease. No rush, I have a lot of other stuff on my plate, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants