Forwarded attributes can crash generator when accessing invalid members #683
Labels
bug 🐛
An unexpected issue that highlights incorrect behavior
mvvm-toolkit 🧰
Issues/PRs for the MVVM Toolkit
Describe the bug
The forwarded attribute logic (for both observable properties and relay commands) can crash the generator in some invalid scenarios. We should instead emit a proper diagnostic and gracefully skip the current attribute, rather than crashing the generator.
Steps to reproduce
Expected behavior
This should skip the attribute and generate a diagnostic.
The text was updated successfully, but these errors were encountered: