mirror of
https://github.com/google/nomulus
synced 2026-01-11 08:20:27 +00:00
In SQL we do not need to wrap it in a Result. Unfortunately we cannot overload a function based on its return value so we renamed the existing one and created a new one with the old name that returns the resource directly. Once we no longer have use of Datastore we can delete the now renamed function that returns a Result<? extends EppResource> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/google/nomulus/1205) <!-- Reviewable:end -->