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

Improve/handling children #28

Merged
merged 6 commits into from
Dec 20, 2016
Merged

Improve/handling children #28

merged 6 commits into from
Dec 20, 2016

Conversation

zenangst
Copy link
Contributor

This PR improves working with the children property on Item.

It is now included when comparing Item's using ===.

The property is now also available in the initializer.

When working with custom structs, you can implement the new DictionaryConvertable to make it easier to add them as children to an Item.

"children" : [
"child 1" : "Anna",
"child 2" : "Elsa"
],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Bonus points for Frozen reference? 😁

Copy link
Contributor

Choose a reason for hiding this comment

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

😄

@vadymmarkov vadymmarkov merged commit 5a4f1f4 into master Dec 20, 2016
@vadymmarkov vadymmarkov deleted the improve/handling-children branch December 20, 2016 19:27
@vadymmarkov
Copy link
Contributor

🎅

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

Successfully merging this pull request may close these issues.

2 participants