fix: parsing of sql block when there are comments above config block#250
fix: parsing of sql block when there are comments above config block#250ashish10alex wants to merge 2 commits into
Conversation
📝 WalkthroughWalkthroughThis PR fixes SQL block state management in the sqlx file parser by resetting tracking variables when entering a config block, preventing state carryover. Corresponding test coverage is added to validate the fix. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. 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. Comment |
Summary by CodeRabbit
Bug Fixes
Tests