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

feat(result-types): Added function to split results #12

Merged
merged 4 commits into from
Feb 15, 2022

Conversation

AminFazlMondo
Copy link
Contributor

  • Added new helper functions to mondo-result-types in order to split the results instead of flat mapping them.
  • As part of this, we would like ask the question of if we ever would need to use flatMapResults. Would be great to see some examples of usage. Having said that either of flatMapResults or splitResults would work for one level array, they only have different bahaviour in the scenario that 'data' is nested array.

@daryl-miller
Copy link
Contributor

Happy to kill the flatmap usage in lieu of splitresults

@AminFazlMondo AminFazlMondo merged commit f5dde61 into main Feb 15, 2022
@AminFazlMondo AminFazlMondo deleted the feature/SplitResults branch February 15, 2022 22:12
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.

None yet

3 participants