Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Fixed issues with array and object parameters in urth-core-function #249

Merged
merged 2 commits into from
Mar 8, 2016

Conversation

lbustelo
Copy link
Collaborator

@lbustelo lbustelo commented Mar 3, 2016

No description provided.

@lbustelo
Copy link
Collaborator Author

lbustelo commented Mar 4, 2016

Fixes #247
Added code to properly parse that path and send the correct value to downstream functions.

@lbustelo lbustelo changed the title Fixed issues with complex observer and arrays in urth-core-function Fixed issues with array and object parameters in urth-core-function Mar 4, 2016
@lbustelo
Copy link
Collaborator Author

lbustelo commented Mar 4, 2016

fixes #245

@lbustelo
Copy link
Collaborator Author

lbustelo commented Mar 7, 2016

Added an example.

This is the main part of polymer that helped in fixing this issue https://github.com/Polymer/polymer/blob/333f08260966031f5c8ac1e7db09b392c634d55d/src/standard/effectBuilder.html#L120

@lbustelo
Copy link
Collaborator Author

lbustelo commented Mar 7, 2016

@deedubbu Please give this a review when you get a chance.

@@ -28,6 +32,12 @@
addDynamicProperties: function(dynProps){
this._dynamicProperties = dynProps;
Copy link
Contributor

Choose a reason for hiding this comment

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

Unrelated to this change, but seems like this method should really be setDynamicProperties since this._dynamicProperties is reset on each invocation instead of actually "adding".

@purdrew
Copy link
Contributor

purdrew commented Mar 8, 2016

Looks good 👍

@lbustelo lbustelo merged commit 4378e34 into master Mar 8, 2016
@lbustelo lbustelo deleted the Issue247 branch March 16, 2016 03:03
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