Skip to content

Conversation

@smoothdeveloper
Copy link
Contributor

@smoothdeveloper smoothdeveloper commented Nov 21, 2023

being very explicit about good practices related to [<RequireQualifiedAccess>] when defining modules that shadow or extend others that have the attribute.

Language design notes:

  • we should consider a soft RequireQualifiedAccess mode, which gives a warning, allows API authors to do a warning wave on future change
  • we should consider warnings / analyzer to implement the rules that are suggested in this edit

related:


Internal previews

📄 File 🔗 Preview link
docs/fsharp/style-guide/component-design-guidelines.md F# component design guidelines

being very explicit about good practices related to `[<RequireQualifiedAccess>]` when defining modules that shadow or extend others that have the attribute.

Language design notes:
* we should consider a soft RequireQualifiedAccess mode, which gives a warning, allows API authors to do a warning wave on future change
* we should consider warnings / analyzer to implement the rules that are suggested in this edit
@dotnet-bot dotnet-bot added this to the November 2023 milestone Nov 21, 2023
@ghost ghost added the community-contribution Indicates PR is created by someone from the .NET community. label Nov 21, 2023
lint over trailingspace
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM. I'll :shipit:

@BillWagner BillWagner merged commit 5b2d3b4 into dotnet:main Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Indicates PR is created by someone from the .NET community. dotnet-fsharp/svc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants