Skip to content

Conversation

@linkdotnet
Copy link
Collaborator

The target is to have a clean and maintainable public API surface.

What we did so far (21th of February):

  • Used the following regex to identify public API: public [\w|\s]*(interface|class|record|struct)
  • DiffMarkupFormatteris internal
  • NodePrintExtensionsis internal and we removed some methods that weren't used anymore

@linkdotnet
Copy link
Collaborator Author

Do we want FindComponents to be IReadOnlyCollection instead of IReadOnliyList which it is now?

Why would the order matter to a user anyway? How can the user know the order in advance and what to expect?

@linkdotnet
Copy link
Collaborator Author

Do we want FindComponents to be IReadOnlyCollection instead of IReadOnliyList which it is now?

Forgot what the docs said :D well ignore that comment and ordering makes sense!

@egil egil merged commit 1fd5ba6 into v2 Sep 14, 2025
10 of 11 checks passed
@egil egil deleted the v2-api-review branch September 14, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants