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

Teach ActiveRecordColumns compiler about virtual attributes #1360

Merged
merged 1 commit into from
Jan 18, 2023

Conversation

bdewater
Copy link
Contributor

@bdewater bdewater requested a review from a team as a code owner January 17, 2023 13:16
Copy link
Member

@paracycle paracycle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find!

lib/tapioca/dsl/compilers/active_record_columns.rb Outdated Show resolved Hide resolved
Copy link
Member

@paracycle paracycle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@paracycle
Copy link
Member

Ok, I tested this against Core and it actually added many attributes that we were missing into DSL files. Thanks for the contribution @bdewater!

@paracycle paracycle merged commit a3b83c2 into Shopify:main Jan 18, 2023
@bdewater bdewater deleted the ar-virtual-attributes branch January 18, 2023 20:21
@shopify-shipit shopify-shipit bot temporarily deployed to production February 21, 2023 12:01 Inactive
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.

Tapioca doesn't generate signatures for Active Record virtual attributes
3 participants