Besides the issue, I always create a method like get/find find_one, find_unique, find_unique, or find_only, in cases where I expect exactly one result. I’m a query or collection. I’ll have a separate for when I expect one or zero results.
Unfortunately it’s crazy difficult to even get such a small addition committed upstream, but that’s a different story
Unfortunately it’s crazy difficult to even get such a small addition committed upstream, but that’s a different story