Get the categories/subcategories an author has written for - Schema
Go to Get the categories/subcategories an author has written for
Suppose you have an Array Reference to Category and you want to get all posts with one of the categories listed in the current post. This is usually when you need to get related items.
Go to Get related items of a post in sanity by comparing category array reference with another arrayA tool for Sanity Studio to graph your content and see changes in real-time.
Go to Content Graph View