-
Notifications
You must be signed in to change notification settings - Fork 122
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
Add Action Text compiler #1632
Add Action Text compiler #1632
Conversation
d602164
to
4f8f439
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI failure and skip on 6.1. Compiler itself looks fine to me.
I can't replicate the failure locally on 3.0.6 😕 |
Maybe it was just flakey @KaanOzkan |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Could you add a test for gather_constants
also similar to
it "gathers no constants if there are no ActiveRecord classes" do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks it looks good. Can you please clean up the git history to atomic commits? We don't squash and merge in tapioca and it should help with git blame later on. Sorry for the back and forth didn't notice it earlier.
355b7c7
to
16d96a9
Compare
Done @KaanOzkan thank you for all your help! |
I think the CI errors came from #1604 |
CI should be fixed on |
16d96a9
to
623737a
Compare
@KaanOzkan is this ok to merge? |
Motivation
Adds a compiler for Action Text.
Implementation
I based most of this off the Active Storage compiler. Action Text is not very complex internally so the compiler was not too hard to write.
Tests
Added tests and confirmed they match our home-made RBIs.