DEV Community

loading...

Discussion on: Practical Advice to Good API Design

johannea profile image
Johanne Andersen Author

You are right, I'm sorry, I misread. I'll edit it in the post as well. Thanks for pointing it out!

For the input type, I'm no expert, but I imagine it also depends on the use case. But I completely agree with your point, if it works for any collection, a collection would also be the most specific input type there is. (I would think so at least)