Saiichi Shayan Hashimoto
Saiichi Shayan Hashimoto
Looks very thorough! I'll take a look soon.
This repro is doing too much to actually decipher what is happening. Trying to rebuild a local version of `@sanity-typed/types` is creating it's own issues, for example. `Uncaught error: The...
I think a _lot_ of issues (and solutions) are getting introduced all together under "pnpm issues" and I really can't approach it all as one chunk. But yes, I did...
I was about to try a solution involving [`npm pack`](https://docs.npmjs.com/cli/v7/commands/npm-pack#pack-destination) and [checking out a separate repo](https://github.com/actions/checkout?tab=readme-ov-file#checkout-multiple-repos-side-by-side) to test importing this, but I'm realizing I can't really even test the specific...
OK, I have a super small repro: https://gist.github.com/saiichihashimoto/1349697a7dbc64096a89ffc7c6cee771 It _only_ fails on `pnpm run start`, not `pnpm run dev`, which is interesting.
1. Can you provide the schema or query for what you're talking about? 2. I hadn't even considered the `groq` template literal, will need to do that!
Seems like an easy fix, it should be able to receive readonly arrays. For now, the following should fix it: ```diff styles: [ - { title: 'Paragraph', value: 'normal' },...
@LiamWinterton, did that work for you?
I'm pushing a change that also allows readonly arrays to define this so, either way, it should work!
I've made a PR with a test against this in #642, and can confirm that this is indeed a bug. I'll take a look and see. GROQ will give you...