Skip to content
This repository was archived by the owner on Jan 2, 2024. It is now read-only.

fix(binding): Ensure nested properties uses dot notation #59

Merged

Conversation

marcostmunhoz
Copy link
Contributor

This pull request fixes the inconsistent behavior when trying to get a nested property via binding.
Previously, the original property name (e.g. nested[property]) was passed to the data_get function, causing it to always return null.
Now, the name is converted to dot notation (e.g. nested.property) before trying to access it.

@pascalbaljet pascalbaljet merged commit 90fd8e6 into protonemedia:master Dec 22, 2021
@pascalbaljet
Copy link
Contributor

Thanks @marcostmunhoz!

@marcostmunhoz marcostmunhoz deleted the fix/nested-bound-target branch December 22, 2021 13:37
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