You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was getting NullReferenceExceptions when updating to the new 3.x version. After some debugging, I noticed the ignoring of potentially nullable value:
I had the same exception by removing DrawNewLinkBehavior and registering a derived class from it.
I solved the issue by changing the GetBehavior function to check if has a derived class if the asked is not found.
I was getting NullReferenceExceptions when updating to the new 3.x version. After some debugging, I noticed the ignoring of potentially nullable value:
https://github.com/Blazor-Diagrams/Blazor.Diagrams/blob/develop/src/Blazor.Diagrams/Components/LinkWidget.razor#L18
Since the behavior can be removed, the null check should still exist?
For now I disabled this call on new diagrams:
The text was updated successfully, but these errors were encountered: