-
Notifications
You must be signed in to change notification settings - Fork 5
Migrate to sanity v3 #171
Comments
With v3's |
@miklschmidt I have no idea, I don't know what those are. From what I gather, they give typescript hints to define schemas. Theoretically, it narrows the types enough that we could derive those types directly from the schemas. If so, great news! We can easily make a library that does that and deprecate this library. That would be amazing, I would love to get as close to using the native schemas as possible. Aside from that, this task is mostly to make sure this library as-is works with |
Lolz, I think you got me mixed up again, regardless thanks for the update! I'm not sure how to derive the types myself, so I have some learning to do then! |
Lol yes I did. Sorry to both of you for that! |
And if you find a way to derive the types yourself, please make that a package. I'd love to make it, but I'm doing this whenever I happen to have time (rarely) and the amount of people who would want it is probably... everyone. |
Closes #171 BREAKING CHANGE: Sanity v2 is no longer supported. Initially, it may still work with v2, but will not support it going forward.
🎉 This issue has been resolved in version 2.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Mainly, migrating
@sanity/types
to3.x.x
The text was updated successfully, but these errors were encountered: