ClassicPress / ClassicPress-v1

A copy of ClassicPress v1.x.
1 stars 1 forks source link

Upgrade from REST for GraphQL #217

Closed bahiirwa closed 6 years ago

bahiirwa commented 6 years ago

Feature request. This could be future/planned. REST API is currently bloated with so much information one seldom needs and could be improved in speed relatively. I suggest running with GraphlQL.

Expected Behavior

Possible Solution

This could be a start. https://github.com/wp-graphql/wp-graphql

Mte90 commented 6 years ago

We have the approach to discuss with the community and vote the features before open an issue for that. Check https://petitions.classicpress.net/ to follow our workflow :-)

bahiirwa commented 6 years ago

Thanks. My bad. Let me check it out

epakrat commented 6 years ago

Ideally, REST and GraphQL should both be implemented and available as plugins rather than being part of core. Let people chose what they want to (continue to) use rather dictating one or the other.

senlin commented 6 years ago

@epakrat thanks for your input. You can actually make your voice heard by voting on these and other features via our https://petitions.classicpress.net/ website.

nylen commented 6 years ago

Summarizing my comment at https://petitions.classicpress.net/posts/72/upgrade-rest-to-graphql: there is a _fields parameter which satisfies the original need for this issue, and we are probably about 3 years too late to decide not to include the REST API.