You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
The default for Resource.get(id) is to return an object, per the documentation (and the code). Makes sense, since GET /item/123 returns a single item. However, sometimes I might want to return multiple items GET /item/123,378, as Resource.get(['123','378']).
Again, I implemented my own wrapper around this for my projects, but I can see broader use cases. Is there interest in a PR such that Resource.get() can understand an array argument and handle multiple and single?
Again, I didn't find this in the existing ngResource documentation or code, but if I missed it, happy to use the existing and close this.