3 ms·
Totally agree. If a frontend wants exactly one of something then implement an API that calls the same batch code, but exposes it as a singular. The thing I've
by robertlagrant 4y ago
Totally agree. If a frontend wants exactly one of something then implement an API that calls the same batch code, but exposes it as a singular.
The thing I've found for object retrieval (as opposed to search) is that you might want to break GET semantics and have people POST in a list of IDs. Otherwise you might hit the query string size limit. Random tip.