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

Add support for an equals(...) method #2

Closed
tghamm opened this issue Oct 27, 2015 · 1 comment
Closed

Add support for an equals(...) method #2

tghamm opened this issue Oct 27, 2015 · 1 comment
Assignees

Comments

@tghamm
Copy link
Member

tghamm commented Oct 27, 2015

It would be nice if there were an $equals(..) method that could be created optionally per type and defined in the parser settings, similar to the $merge(...) method.

Ideally you compare the value of each property as defined by the passed in PropertyBag collection and parser options. It should test failure and return quickly where possible. It should handle deep collection comparison as well as custom class comparison using the `euqls(...) method internally.

@tqheel
Copy link

tqheel commented Nov 2, 2015

This is a test comment. Hopefully it will show up in Slack channel. Booya.

@tghamm tghamm assigned tghamm and unassigned tqheel Dec 25, 2015
tghamm added a commit that referenced this issue Jan 1, 2016
tghamm added a commit that referenced this issue Jan 1, 2016
Resolves #2 with an additional unit test and fixes #17
@tghamm tghamm closed this as completed in 2477dc5 Jan 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants