Skip to content

Conversation

linkdotnet
Copy link
Collaborator

Fixes #1691

Has to be merged to v2

@linkdotnet linkdotnet requested review from egil and Copilot April 4, 2025 15:57
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

tests/bunit.web.tests/Rendering/RenderedComponentTest.cs:77

  • [nitpick] The test currently only asserts that no exception is thrown. Consider adding assertions to verify the actual components returned by FindComponents, ensuring that both base and derived components are correctly identified.
Should.NotThrow(() =>

@linkdotnet linkdotnet force-pushed the fix/inheritance-find-components branch from a7f6abc to eedc7bd Compare April 4, 2025 16:08
@egil egil merged commit f60013e into main Apr 4, 2025
8 of 9 checks passed
@egil egil deleted the fix/inheritance-find-components branch April 4, 2025 16:14
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.

FindComponent<T> Of derived component after a FindComponents<T> of base component cant cast
2 participants