Skip to content

Investigate [<Optional>] attribute #20

@Freymaurer

Description

@Freymaurer

Should improve C# accessibility, this would solve one of the two issues why a c# access layer is required!

A suggestion by Vladimir Shchur.

For the API compatibility issues, two points
1) I'd avoid exposing tuples in API at all, they are less self-descriptive than records
2) For optional parameters I'd rather used conditional compilation with [<Optional>] for C#, so C# users will never see FsharpOption<T> type

— Vladimir Shchur (@Lanayx) June 5, 2024

Seems to run for Fable.

REPL

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions