-
Notifications
You must be signed in to change notification settings - Fork 1
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
Can we notify Polymer about changes once entire patch applied? #29
Comments
I'd rather avoid it, because then the client side code becomes aware of Puppet. Can you give any examples when its really unavoidable? As a workaround, perhaps you can have a property |
Just opposite. It should be hidden into the The last case which raised this issue: <palma-d3-matrix rows="{{model.Rows}}" cols="{{model.Cols}}" cells="{{model.Cells}}"></palma-d3-matrix> The Even more weird staff happening when |
What version of Starcounter and puppet-polymer-client are you using? Current version uses |
You are right. After some more digging and investigation I found that my issue is caused by the following:
|
I have created a simplest possible example in my Playground. In the example I have two partials with Steps to reproduce:
Replace |
For the first look, it seems to me like a bug (missing scenario coverage) in |
@tomalec here is the patch: [
{
"op": "replace",
"path": "/_ver#s",
"value": 3
},
{
"op": "test",
"path": "/_ver#c$",
"value": 2
},
{
"op": "replace",
"path": "/SubPage",
"value": {
"Playground": {
"Html": "/Playground/SubPage.html",
"Date": "SubPage",
"Items": [ "i7-4790k", "i7-5820k", "i7-6700k" ],
"SelectedItem$": "",
"Details": { },
"Remove$": 0,
"Add$": 0,
"Message": ""
}
}
},
{
"op": "replace",
"path": "/LoadSubPage$",
"value": 0
}
] Can you look at my example? It is tiny and easy to understand. |
Let's look at this when Polymer 2.0 integration is tested in Starcounter 2.4. |
It is very bug prone when Polymer observers are hit in between of patch items.
cc @warpech, @tomalec
The text was updated successfully, but these errors were encountered: