eugelogic / gatsby-press

Gatsby with Headless WordPress
https://www.gatsbypress.co.uk/
MIT License
1 stars 0 forks source link

What if I want/need to filter users by role? #18

Open eugelogic opened 4 years ago

eugelogic commented 4 years ago

As things currently stand, I can only fetch all the users as long as they have a post under their name. Subscribers will not be fetched. But what can I do if I need a list of all the authors/editors only? https://github.com/wp-graphql/wp-graphql/pull/900 If this is not feasible I should change user to author where possible and try not to have username in the slug