-
Notifications
You must be signed in to change notification settings - Fork 498
feat(typegen)!: return same case when generating types #11330
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
base: next-major
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
🧪 E2E Preview environment🔑 Environment Variables for Local TestingThis is the preview URL for the E2E tests: https://e2e-studio-jnjwk9ehg.sanity.dev To run the E2E tests locally, you can use the following environment variables, then run 💬 Remember to build the project first with |
📊 Playwright Test ReportWaiting for E2E tests to finish… |
⚡️ Editor Performance ReportDeploying studio and running performance tests… |
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||
c54f8dd to
6a946ed
Compare
d3b0b82 to
2442700
Compare
kbrabrand
left a comment
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.
Nice. Added a suggestion on handling camel case before snake case, but other than that it looks 👍
f4962bd to
c32c601
Compare
2442700 to
28c0e9b
Compare
28c0e9b to
3452935
Compare
3452935 to
8ad49d5
Compare
Description
Detect casing and return the generated type name with the same casing. If we can't detect it we fall back to camelCase
What to review
Testing
yes
Notes for release
TypeGen(Breaking!): Return generated type names in same case as the query name case.