-
Notifications
You must be signed in to change notification settings - Fork 334
Allow component rename on usage points #14209
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
base: develop
Are you sure you want to change the base?
Conversation
app/gui/src/project-view/components/GraphEditor/widgets/WidgetFunction.vue
Outdated
Show resolved
Hide resolved
app/gui/src/project-view/components/GraphEditor/widgets/WidgetFunctionDef/argumentAst.ts
Outdated
Show resolved
Hide resolved
app/gui/src/project-view/components/GraphEditor/widgets/WidgetFunctionName.vue
Outdated
Show resolved
Hide resolved
app/gui/src/project-view/components/GraphEditor/widgets/WidgetFunctionName.vue
Outdated
Show resolved
Hide resolved
app/gui/src/project-view/components/GraphEditor/widgets/WidgetFunctionName.vue
Show resolved
Hide resolved
|
|
||
| /** | ||
| * A version of vue's {@link inject} that will also inject a value provided earlier | ||
| * within the same component's setup function. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, that’s nice. I think I needed that for… type annotation widget? (I don’t remember). Really annoying restriction on the Vue side.
| return (toLowerSnakeCase(name) || 'arg') as Identifier | ||
| } | ||
|
|
||
| function toLowerSnakeCase(name: string): string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don’t have unit tests for it, do we? I suppose we should add some.
Pull Request Description
Fixes #11348
Fixes #13499