-
-
Notifications
You must be signed in to change notification settings - Fork 69
refactor(compiler): make transform bare bool optional #299
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
Conversation
Caution Review failedThe pull request is closed. WalkthroughThis change refactors the handling of Vue template transform options, introducing more granular control for boolean attribute and asset URL transformations. It updates option structures and function signatures, adds a new test and fixture for boolean casting, and adjusts the order of embedded codes in the language service to improve Emmet support. Changes
Sequence Diagram(s)sequenceDiagram
participant App as App
participant Router as Router
participant MyComp as MyComp (Fixture)
participant Compiler as Compiler
App->>Router: Navigate to /boolean-cast
Router->>MyComp: Render TestBoolCastPage
MyComp->>Compiler: Compile template with boolean attributes
Compiler-->>MyComp: Transform bare attrs as bool (controlled by new options)
MyComp-->>App: Rendered output with correct boolean casting
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~15-20 minutes Assessment against linked issues
Assessment against linked issues: Out-of-scope changesNo out-of-scope changes found. Possibly related PRs
Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (8)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
✅ Deploy Preview for vue-vine ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
@vue-vine/compiler
create-vue-vine
@vue-vine/eslint-config
@vue-vine/eslint-parser
@vue-vine/eslint-plugin
@vue-vine/language-server
@vue-vine/language-service
@vue-vine/nuxt
vue-vine-tsc
@vue-vine/vite-plugin
vue-vine
commit: |
Summary by CodeRabbit
New Features
Bug Fixes
Tests
Refactor