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
which still requires a (necessary and not that annoying) check for undefined, but means you don't need to check the array (not necessary and very annoying)
The text was updated successfully, but these errors were encountered:
At the moment, (where
food
is equal to the README example)idOne
has the following type:which is annoying for two reasons:
idOne
is defined1
That second reason is particularly annoying if you know that
id
is unique the source data.Would be cool if oaty supported something like:
and could even make this backwards-compatible, e.g.
and then the type for
oatyFood.get("id", 1)
should becomewhich still requires a (necessary and not that annoying) check for
undefined
, but means you don't need to check the array (not necessary and very annoying)The text was updated successfully, but these errors were encountered: