Feedback: Config API #3328
Replies: 4 comments 14 replies
-
Really loving the ease of use with the new Config API! The only issue I ran into was migrating my custom auth provider. Following the example given, I get the error: |
Beta Was this translation helpful? Give feedback.
-
This might not be the best place for this, but it's worth mentioning that in the documentation you should definitely include how to get the |
Beta Was this translation helpful? Give feedback.
-
For schemas, wasn't totally clear from the new docs that all I had to do was delete my v2 I like this much better!
|
Beta Was this translation helpful? Give feedback.
-
I sort off expected (hoped) this pattern to work for defining plugins as well: // Example using the callback function with some conditional logic
tools: (prev, {currentUser}) => { My current use case would be showing the vision plugin to admin users only. |
Beta Was this translation helpful? Give feedback.
-
Sanity Studio v3 introduces a new Config API.
Let us know how it works for you:
sanity.json
tosanity.config.(js|ts)
worked out for you?Beta Was this translation helpful? Give feedback.
All reactions