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
{{ message }}
This repository has been archived by the owner on Apr 21, 2018. It is now read-only.
Currently, the arguments for methods like findAll are untyped, we could generate fully typed schema for the arguments of these methods. This would allow typechecking mongo query objects:
constuser=Tyr.byName.user.findAll({query: {_id: userId,// <- this is fine, as there is an _id property on User,mame: 'ben'// <- this causes compiler error, as property 'mame' doesn't exist on user.}});
The text was updated successfully, but these errors were encountered:
Currently, the arguments for methods like
findAll
are untyped, we could generate fully typed schema for the arguments of these methods. This would allow typechecking mongo query objects:The text was updated successfully, but these errors were encountered: