Skip to content

Conversation

@mfazekas
Copy link
Collaborator

Summary

Adds two methods to ViewModelInstance for accessing and replacing nested ViewModel instances:

  • viewModelInstanceProperty(path) - get a nested ViewModelInstance by path
  • setViewModelInstanceProperty(path, instance) - replace a nested instance

Test

Includes example NestedViewModelExample with person_databinding_test.riv that demonstrates:

  • Getting nested ViewModel instance via viewModelInstanceProperty('favDrink')
  • Accessing properties from nested instance
  • Path notation comparison

Adds two methods to ViewModelInstance:
- viewModelInstanceProperty(path) - get nested ViewModel instance
- setViewModelInstanceProperty(path, instance) - replace nested instance

Includes test example with person_databinding_test.riv
@mfazekas mfazekas force-pushed the feat/viewmodel-instance-property branch from 65196b5 to 474ce91 Compare December 23, 2025 08:39
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