-
Notifications
You must be signed in to change notification settings - Fork 446
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
feat(typegen): add location of discovered query #7327
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
No changes to documentation |
Component Testing Report Updated Aug 6, 2024 11:14 AM (UTC)
|
9988874
to
0e4cba3
Compare
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.
Looks good, refusing to bike shed on the naming. After writing plugins in babel, ESLint, etc etc etc there isn't really a consensus anyway on exact naming 😄
Description
Adds a location object to the discovered queries, this is practical when using codegen to parse a source file and find location of queries. Ie in vscode-sanity
What to review
Does the start/end interface make sense?
Testing
Added
Notes for release
N/A - no notes needed