Add Tapioca compiler for models with ejects_to
defined
#4
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
When
eject
is called on an instance of an ActiveRecord model that definesejects_to
, Sorbet does not know the method exists. Further, we don't know what the return type should be, so we're forced to use thetyped: false
sigil.Tapioca allows for custom compilers to generate RBIs for a project based on given conditions. We should add one for
ejection_seat
to give more type information.The text was updated successfully, but these errors were encountered: