ricokahler / sanity-codegen

Generate TypeScript types from your Sanity.io schemas
sanity-codegen-dev.vercel.app
MIT License
270 stars 19 forks source link

Project on hiatus/Open to sponsorships #297

Open ricokahler opened 1 year ago

ricokahler commented 1 year ago

Dear Everyone,

I hope you're all doing well!

I'm writing today to share some important updates about our project's current status. While my dedication to this endeavor remains, changes in my personal circumstances have led me to place the project on a temporary hiatus.

This passion project, which started during the pandemic, has morphed into a far more intricate endeavor than I initially envisioned. My initial goal was to achieve type safety with Sanity using GROQ, but as the project evolved, I found myself crafting a unique GROQ evaluator and compiler. This unexpected complexity, while challenging, led me to a crucial realization: this approach is the only one that allows us to maintain GROQ's expressiveness while ensuring full type safety with TypeScript. In other words, it's the correct approach for typed queries using Sanity because it lets us "have our cake and eat it too". This strategy sets the stage for a future with a schema-aware GROQ language service (via LSP) that provides real-time feedback — envision seeing red squiggles for potential misalignments while crafting a query!


It's important to remember that you are relying on a personal project. Setting realistic expectations when using this repo is crucial. Although my current circumstances prevent me from dedicating regular time to the project, I'll do my best to review and merge pull requests towards the alpha/v1 branch if they include tests. The best way to reach me is actually on the Sanity Slack under the handle 'Rico'.

I'm also excited to mention that this project is open to sponsorships. If you or someone you know might be interested, please reach out. Sponsorship would enable me to take a leave from my regular work, allowing me to fully dedicate myself to this project in a realistic and sustainable manner. Given the complexity of the project, I anticipate needing approximately a month of focused, full-time work to bring it to completion. Please note that as a seasoned professional in the industry, my time investment is significant, and the sponsorship would need to reflect this commitment appropriately. I'm open to discussing specifics privately to ensure a beneficial arrangement for all parties involved.

Thank you for your understanding, patience, and ongoing support. Your contributions have been instrumental in shaping this project.

Take care,

Rico