wp-graphql icon indicating copy to clipboard operation
wp-graphql copied to clipboard

Add dynamic types for terms.

Open BE-Webdesign opened this issue 8 years ago • 0 comments
trafficstars

Terms are similar to posts as they have their own type; a taxonomy. It would be nice to expose term querying for taxonomies registered to WP GraphQL API dynamically. This would mean that categories and tags would be query-able fields by default. That should be nicer than querying by the terms field. It will also enable you to query multiple taxonomy terms in one query. Pretty neat.

BE-Webdesign avatar Dec 15 '16 04:12 BE-Webdesign