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 single collections with add() #18

Merged
merged 1 commit into from
Nov 23, 2017
Merged

Conversation

Floriferous
Copy link
Contributor

Using concat allows the public add() method to take arrays of collections or a single collection object, which makes the API more consistent as stub() works this way too.

If this PR makes sense, I could add a few lines to the README to explain the allowed types.

@hwillson
Copy link
Owner

Yes, this makes sense @Floriferous - thanks very much!

@hwillson hwillson merged commit ee8ef6a into hwillson:master Nov 23, 2017
@Floriferous Floriferous deleted the patch-1 branch December 8, 2017 16:21
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