Skip to content

Conversation

@richbryant
Copy link
Contributor

@richbryant richbryant commented Jan 28, 2020

What kind of change does this PR introduce?

Bug fix - moves WhenAny that was throwing errors in constructor to OnAfterRender.

Functionality - Adds [Parameter] tag to ViewModel property in component base to allow allow users to compose ViewModel in Razor syntax.

What is the current behavior?

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: The render handle is not yet assigned.

kaboom basically.

What is the new behavior?

Hopefully not kaboom, although I've thought that before.

What might this PR break?

Nothing that ain't already broke.

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Other information:

@richbryant richbryant requested a review from a team January 28, 2020 16:30
Copy link
Member

@RLittlesII RLittlesII left a comment

Choose a reason for hiding this comment

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

I am currently getting a dispatcher error on the line you just changed. Hopefully this resolves that issue as well.

@RLittlesII RLittlesII changed the title Parameter tag on ReactiveComponentBase, moved WhenAny fix: Parameter tag on ReactiveComponentBase, moved WhenAny Jan 28, 2020
@RLittlesII RLittlesII merged commit a9f4585 into reactiveui:master Jan 28, 2020
@richbryant richbryant deleted the richbryant-blazor-addParamMoveWhenAny branch January 28, 2020 17:37
@lock lock bot locked and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants