Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add try_get() and try_get_by_external_id() to entity_store
As commented in #2303#discussion_r1356364285, we have many patterns using get() or get_by_external_id() and map them None to Err. The new APIs returns Error::UnknownEntity instead of None. Signed-off-by: Rina Fujino <[email protected]>
- Loading branch information