Skip to content
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.

Should we use Reflect.metaData? #7

Open
emolr opened this issue Feb 6, 2018 · 0 comments
Open

Should we use Reflect.metaData? #7

emolr opened this issue Feb 6, 2018 · 0 comments
Labels
question Further information is requested

Comments

@emolr
Copy link
Member

emolr commented Feb 6, 2018

Looking at https://github.com/kenchris/lit-element/blob/master/src/lit-element-decorators.ts, Kenneth is using Reflect metadata to determine the type if no options are set.

Only issue is that if no options or type defined in TS, then the value type returns as an object, which causes the content of an attribute to be interpreted wrongly in some cases.

@emolr emolr added the question Further information is requested label Feb 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant