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

Conversation

cquinones100
Copy link
Contributor

@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.

@cquinones100
Copy link
Contributor 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
Contributor 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!

ActiveRecordColumnTypeHelper's @constant.primary_key
can be nil for models that don't have a primary key
@egiurleo egiurleo force-pushed the issue-1997-correct-custom_type_for-annotation branch from 4bd2cc1 to 6b93d15 Compare September 25, 2024 19:44
@egiurleo egiurleo merged commit 662cb31 into Shopify:main Sep 25, 2024
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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