Skip to content

Avoid Sorbet DSL for dummy app #329

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

Merged
merged 1 commit into from
Apr 15, 2024
Merged

Conversation

andyw8
Copy link
Contributor

@andyw8 andyw8 commented Apr 14, 2024

I don't think there much's benefit in using the Tapioca DSLs for the Rails dummy app. Also, there are cases we we want to verify how the LSP behaves for invalid code, e.g. trying to use Go To Definition for an invalid route.

@andyw8 andyw8 force-pushed the andyw8/avoid-sorbet-dsl-for-dummy-app branch from 1d2732b to 0a491ec Compare April 14, 2024 14:23
@andyw8 andyw8 added the chore Chore task label Apr 14, 2024
@andyw8 andyw8 marked this pull request as ready for review April 14, 2024 22:46
@andyw8 andyw8 requested a review from a team as a code owner April 14, 2024 22:46
@andyw8 andyw8 requested review from egiurleo and KaanOzkan April 14, 2024 22:46
.rubocop.yml Outdated
@@ -26,6 +26,7 @@ Sorbet/TrueSigil:
Exclude:
- "**/*.rake"
- "lib/**/*.rb"
- "test/**/*.rb"
Copy link
Member

Choose a reason for hiding this comment

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

This should be test/dummy/**/*.rb. We still want to use typed: true in tests.

@andyw8 andyw8 force-pushed the andyw8/avoid-sorbet-dsl-for-dummy-app branch from 0a491ec to 18dbe99 Compare April 15, 2024 14:25
@andyw8 andyw8 requested a review from a team as a code owner April 15, 2024 14:25
@andyw8 andyw8 requested review from st0012 and aryan-soni April 15, 2024 14:25
@andyw8 andyw8 force-pushed the andyw8/avoid-sorbet-dsl-for-dummy-app branch from 18dbe99 to d693754 Compare April 15, 2024 14:26
@andyw8 andyw8 force-pushed the andyw8/avoid-sorbet-dsl-for-dummy-app branch from d693754 to 36e8924 Compare April 15, 2024 14:28
@andyw8 andyw8 enabled auto-merge (squash) April 15, 2024 14:28
@andyw8 andyw8 merged commit 64a56af into main Apr 15, 2024
@andyw8 andyw8 deleted the andyw8/avoid-sorbet-dsl-for-dummy-app branch April 15, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Chore task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants