Re:What we learned after I deleted the main production datab...
by robertlagrant on Tuesday September 20, 2022 @07:37AM
(#32910365)
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.
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.