Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JsComponent: improve error reporting and doccomments #1804

Merged
merged 3 commits into from
Jun 8, 2024

Conversation

exyi
Copy link
Member

@exyi exyi commented Apr 5, 2024

partially adresses #1802

@exyi exyi force-pushed the jscomponent-global-errors branch from f3ef75f to 07b4c42 Compare April 28, 2024 09:41
@exyi exyi added this to the Version 4.3 milestone May 8, 2024
control.GetProperty(GlobalProperty) is null or ResolvedPropertyValue { Value: false })
{
yield return new ControlUsageError(
$"This view does not have any view modules registred, only global JsComponent will work. Add the `Global` property to this component, to make the intent clear.",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
$"This view does not have any view modules registred, only global JsComponent will work. Add the `Global` property to this component, to make the intent clear.",
$"This view does not have any view modules registered, only global `JsComponent` will work. Add the `Global` property to this component, to make the intent clear.",

@exyi exyi force-pushed the jscomponent-global-errors branch 2 times, most recently from 10eaea6 to 42b02bd Compare June 8, 2024 19:54
@exyi exyi force-pushed the jscomponent-global-errors branch from 42b02bd to 2b8aa1a Compare June 8, 2024 20:49
@exyi exyi merged commit 5edc40d into main Jun 8, 2024
14 of 15 checks passed
@exyi exyi deleted the jscomponent-global-errors branch June 8, 2024 21:26
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.

2 participants