Invalid type for Tapioca::Dsl::Helpers::ActiveRecordColumnTypeHelper#column_type_for
#1997
Labels
Tapioca::Dsl::Helpers::ActiveRecordColumnTypeHelper#column_type_for
#1997
@constant.primary_key
can benil
for models that don't have a primary key, so this sig should be updated to the following:I discovered this issue when requiring
sorbet-runtime
as part ofbin/tapioca
. I think we can make this change without downstream effects since the runtime behavior toleratesnil
. I'm happy to make a PR to implement this if there are no concerns.The text was updated successfully, but these errors were encountered: