Skip to content
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

Create Roslyn analyzer to advise on best practice #268

Open
wazzamatazz opened this issue Nov 24, 2022 · 0 comments
Open

Create Roslyn analyzer to advise on best practice #268

wazzamatazz opened this issue Nov 24, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@wazzamatazz
Copy link
Contributor

A Roslyn analyzer project would allow detection of potential issues in development of new adapters, such as:

  • Direct casting of an adapter to a feature type instead of retrieving the feature from the adapter's features collection.
  • Unnecessary repetition of validation.

Some thought is also required to assess if there is any scope for introducing source generators to generate common boilerplate code.

@wazzamatazz wazzamatazz added the enhancement New feature or request label Nov 24, 2022
@wazzamatazz wazzamatazz added this to the Future milestone Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant