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 unordered arrays #30

Merged
merged 6 commits into from
Aug 21, 2021
Merged

Add support for unordered arrays #30

merged 6 commits into from
Aug 21, 2021

Conversation

kinbiko
Copy link
Owner

@kinbiko kinbiko commented Aug 21, 2021

  • Use the "<<UNORDERED>>" directive as the first string in the unordered array to ignore ordering when comparing arrays.
  • Adds unit tests for this new logic.
  • Adds a big real-world payload integration test that should cover most
    of the features of this package in combination

Closes #31

To do

There are still a few more changes that should be implemented before cutting a new minor release.

  • Documentation in README
  • Documentation in Go Docs
  • Example test documentation
  • Take this feature out for a spin on a real project.
  • Self-review of the code

- Use the "<<UNORDERED>>" directive as the first string in the unordered
  array to ignore ordering when comparing arrays.
- Adds unit tests for this new logic.
- Adds a big real-world payload integration test that should cover most
  of the features of this package in combination
array.go Outdated Show resolved Hide resolved
@kinbiko kinbiko merged commit 16c9aa8 into master Aug 21, 2021
@kinbiko kinbiko deleted the unordered-arrays branch August 21, 2021 12:50
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.

Support unordered arrays
1 participant