Skip to content

feat(viewmodel): expose viewModelName in getProperties - #424

Open
mfazekas wants to merge 1 commit into
rive-app:masterfrom
mfazekas:mfazekas/property-viewmodel-name
Open

feat(viewmodel): expose viewModelName in getProperties#424
mfazekas wants to merge 1 commit into
rive-app:masterfrom
mfazekas:mfazekas/property-viewmodel-name

Conversation

@mfazekas

Copy link
Copy Markdown
Contributor

Surfaces the name of the view model a viewModel-typed property references, so consumers generating TypeScript definitions can type nested property paths without instantiating the view model just to read the nested instance's name.

Depends on rive-app/rive-runtime#116 which adds viewModelName to PropertyData.

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.

1 participant