You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just updated to 1.0.0 to test it out. There are a lot of amazing new features. That said, I am heavily using `selections` for every file and then using `TypeFromSelection` to generate the types. That feature seems to be replaced by `fragments`. But from what I can tell, I need to feed fragments the type in order to generate the query in order to infer the types from it. Kinda feels like a cart ahead of the horse deal.
I do see that if I use the typegen from sanity that I can use the types for top level documents, but with `selections` I was able to create a chunk of the query and have corresponding typegen at any level of the query.
Is there something that I am missing? Is this feature going to resurface? I have reverted as this would be an enormous lift for me to type out every selection just so that the query is not erroring.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Code of Conduct
Question
The text was updated successfully, but these errors were encountered: