-
Notifications
You must be signed in to change notification settings - Fork 15
Feature: support @ self selector and ^ parent selector
#376
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
🦋 Changeset detectedLatest commit: 2c4726f The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Copilot reviewed 25 out of 26 changed files in this pull request and generated no comments.
Files not reviewed (1)
- packages/groqd/.eslintrc: Language not supported
Comments suppressed due to low confidence (1)
packages/groqd/src/types/groq-expressions.ts:103
- [nitpick] The type parameter is named '_TQueryConfig' whereas other parts of the module use 'TQueryConfig'. Consider renaming it for consistency.
export type Inequality< TResultItem, _TQueryConfig extends QueryConfig > = `${ProjectionPathsByType<TResultItem, null>} != null`;
|
(had to close + open to trigger CI) |
Adds support for selectors like
"^._id"or"@".See tests for examples.
Copilot Details:
This pull request introduces several new features and improvements to the
groqdlibrary, including support for new syntax in filters and projections, updates to the legacy workflow documentation, and various code enhancements. Below is a summary of the most important changes:New Features and Syntax Support:
!= nullsyntax in filters and comparisons between nullish values.^parent selector and@self-selector in projections, allowing more flexible data querying.Legacy Workflow Documentation:
groqd v0.xworkflow documentation to guide the release process for legacy versions.