You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current metadata API returns Result<Option<_>, _>. The error state happens when inputs are out of bounds. We should take a clue here from stdlib and just return None for such out of bounds cases.
IMO, it is worth it to streamline code using this part of the API.
The text was updated successfully, but these errors were encountered:
Closing this -- the entire lib treats out of range as an error and we still have to worry about serde, etc., failing. No sense in breaking API for no reason.
The current metadata API returns
Result<Option<_>, _>
. The error state happens when inputs are out of bounds. We should take a clue here from stdlib and just return None for such out of bounds cases.IMO, it is worth it to streamline code using this part of the API.
The text was updated successfully, but these errors were encountered: