Skip to content
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

Allow non-JSON literals when property type is "Object". #4956

Merged

Conversation

trading-peter
Copy link
Contributor

It seems there are in general no tests if properties are correctly deserialized or I didn't see or get it???
If someone can give me a hint I would try to implement them.

Reference Issue

Fixes #4464

@TimvdLippe
Copy link
Contributor

@pkaske You can add a test in this suite:

suite('create-time deserialization', function() {

@trading-peter
Copy link
Contributor Author

@TimvdLippe I added some test. Are they sufficient? I'm jet not very experienced with testing web components, leave alone polymers internals. I'm more then open and thankful for any suggestions, tips, critique and hint to used anti patterns :)

Copy link
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

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

Tests look good, great job! Luckily the fix is also easy 😄

@TimvdLippe TimvdLippe merged commit 81add63 into Polymer:master Dec 12, 2017
@trading-peter trading-peter deleted the fix_prop_deserial_objects_4464 branch December 12, 2017 19:49
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants