-
Notifications
You must be signed in to change notification settings - Fork 55
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
[C# interop] Adding Bolero to ASP.NET Core project in C# is not friendly #313
Comments
Can you paste here your proposal? Thanks! |
This seems reasonable. I think also that taking As far as I can tell, these methods would need to be converted:
@xperiandri Do you have any others in mind? |
Also, question mark parameters. static member AddBoleroHost(this: IServiceCollection, [<OptionalParameter>] server: bool voption, [<OptionalParameter>] prerendered: bool voption, [<OptionalParameter>] devToggle: bool voption) = Then you can either omit the parameter or pass Same thing will work with |
I think we can even go for the simpler |
It is better to switch to .NET-compatible optional parameters for this public API.
I mean all related to building the host, services, endpoints etc.
The text was updated successfully, but these errors were encountered: