Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Better Gatsby Support #31

Open
ricokahler opened this issue Dec 19, 2020 · 0 comments
Open

Better Gatsby Support #31

ricokahler opened this issue Dec 19, 2020 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@ricokahler
Copy link
Owner

If there's enough interested, I'd love to collaborate on a better Gatsby solution than Gatsby's Gatsby without GraphQL guide.

Though this works, it's less than ideal because Gatsby won't officially support gatsby-node in typescript.

This is an issue because the preferred way to use the sanity-codegen client is to query for a whole document and do projections and transforms in code. However if you have to populate the Gatsby context using JavaScript only, you loose on some type inference opportunities.

A better solution would be a Sanity Codegen Gatsby source plugin. I'm not currently working on a Gatsby project so I'd rather collaborate with one of y'all.

Let me know if interested!

@ricokahler ricokahler added the help wanted Extra attention is needed label Dec 19, 2020
refactorized added a commit to refactorized/sanity-codegen that referenced this issue Dec 9, 2021
…ut-components

Arc 75 page and block layout components
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant