Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct type annotation in ActiveRecordColumnTypeHelper's #2015

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cquinones100
Copy link

@cquinones100 cquinones100 commented Sep 6, 2024

ActiveRecordColumnTypeHelper's @constant.primary_key can be nil for models that don't have a primary key.

Motivation

Closes #1997

Tests

This is a change to the type annotation, so not test is necessary.

ActiveRecordColumnTypeHelper's @constant.primary_key
can be nil for models that don't have a primary key
@cquinones100
Copy link
Author

I have signed the CLA!

@amomchilov amomchilov changed the title Correct type annotation Correct type annotation in ActiveRecordColumnTypeHelper's Sep 7, 2024
@amomchilov
Copy link
Contributor

Hey @cquinones100, we're investigating some flakey Ruby 3.4 issues in our CI pipeline. We'll merge this PR as soon as it's sorted out :)

@cquinones100
Copy link
Author

Hey @cquinones100, we're investigating some flakey Ruby 3.4 issues in our CI pipeline. We'll merge this PR as soon as it's sorted out :)

Thanks for letting me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid type for Tapioca::Dsl::Helpers::ActiveRecordColumnTypeHelper#column_type_for
2 participants