Use shorthand - for negating expressions in ShipQL#403
Conversation
WalkthroughThis pull request introduces shorthand negation syntax in ShipQL, changing from the "NOT" keyword to a "-" prefix for simple negated expressions. The stringify function is updated to emit "-" for simple terms and "NOT (expr)" for compound expressions, with corresponding test expectations adjusted accordingly. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 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
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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary by CodeRabbit
-prefix to negate expressions instead of theNOTkeyword (e.g.,-status:error).