Collect and log/report generic binding errors and type load errors from connectors#157
Conversation
clrudolphi
left a comment
There was a problem hiding this comment.
How should I go about validating that this is working? I have tried running this from the Experimental Hive instance and loading the MSDI sample project we have, but I see no change in behavior (only the single Error List warning entry about bindings not discovered).
Ah yes. The two improvements you can try:
|
Ah. That explains it. I was looking for the messages in the Error List pane, not the Reqnroll Output pane. Side-question: do we integrate with the C# editor to provide error indicators on the editing surface (such as red squiggles under the hook method) to indicate errors? |
clrudolphi
left a comment
There was a problem hiding this comment.
Questions resolved and behavior confirmed through sample project testing.
The analyzer of @Code-Grump (reqnroll/Reqnroll#541) will do that in a much nicer way that integrates to the C# editor nicely. |
|
Released today in: https://github.com/reqnroll/Reqnroll.VisualStudio/releases/tag/v2026.1.477 |
🤔 What's changed?
The binding errors and type load errors that were received by the connector from Reqnroll were not captured and displayed in VS. This change logs type load errors and shows generic binding errors on the error list. It also shows warnings, but that ones are currently not used.
⚡️ What's your motivation?
Better see when the discovery passed with a type load error (related to reqnroll/Reqnroll#1006)
🏷️ What kind of change is this?
♻️ Anything particular you want feedback on?
Tested it manually
📋 Checklist:
This text was originally taken from the template of the Cucumber project, then edited by hand. You can modify the template here.