Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Document edge cases for type inference with published properties #614

Closed
tjsavage opened this issue Aug 22, 2014 · 3 comments
Closed

Document edge cases for type inference with published properties #614

tjsavage opened this issue Aug 22, 2014 · 3 comments
Assignees
Milestone

Comments

@tjsavage
Copy link
Contributor

e.g. troublesome cases:

<x-foo bar="">
<x-foo bar="true">
<x-foo bar="false">
<x-foo bar="0">
...
@arthurevans
Copy link

I'm not sure I understand what we're looking for here? Is this something other than the type hinting we talk about here: https://www.polymer-project.org/docs/polymer/polymer.html#configuring-an-element-via-attributes

@arthurevans
Copy link

Sorry, finally grokked that there was more detail in the linked bugs, Polymer/polymer#93 and Polymer/polymer/#77

@arthurevans arthurevans changed the title Write doc about attributes and type inference when applying to properties Document edge cases for type inference with published properties Oct 10, 2014
@arthurevans
Copy link

This is an old 0.5 bug; stuff works a bit differently in 1.0 (no type hinting involved), and we have some coverage on the peculiarities of boolean properties & attributes:

https://www.polymer-project.org/1.0/docs/devguide/properties.html#configuring-boolean-properties

So closing this one out.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants