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

Could not find types for 'x' message for types created via plugins #259

Open
seenickcode opened this issue Mar 14, 2022 · 1 comment
Open

Comments

@seenickcode
Copy link

Hello, I wanted to know if this package supports types created by plugins, such as the 'markdown' plugin.

Here are some steps to reproduce:

  1. sanity install markdown
  2. (add a type of 'markdown' to a field in a schema file, ie.
...
{   name: "show_notes",
    title: "Show Notes",
    type: "markdown",
},
...
  1. Run code gen:
npx sanity-codegen
Could not find types for: "Markdown". Ensure they are present in your schema. Future versions of sanity-codegen will allow you to type them separately.
@mikewheaton
Copy link

Has anyone found a solution to this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants