Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 6 years ago

#41325 closed feature request (maybelater)

Adding GraphQL support in core?

Reported by: dingo_d's profile dingo_d Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: REST API Keywords:
Focuses: rest-api Cc:

Description

I know that REST API is the default way to expose API endpoints, and has been implemented in core since version 4.4, but is there a plan to implement GraphQL in core?

It would be a great addition especially if we consider that the core JS will be rewritten, probably in React.

Change History (5)

#1 @netweb
8 years ago

Via Slack #core: https://wordpress.slack.com/archives/C02RQBWTW/p1498224814622770 (June 2017)

divyadeepsawhney: How soon we are going to integrate GraphQL in core?
matt: @divyadeepsawhney not on the roadmap as far as I know
matt: might be good to reach out and get in touch with the https://www.wpgraphql.com/ folks

The repo: https://github.com/wp-graphql/wp-graphql

#2 @rmccue
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to maybelater
  • Status changed from new to closed

Right now, there's no plan on integrating GraphQL into core. There's some great plugins moving forward with it though, and in the long-term, we may look at offering it as part of core.

That said, the utility of it has to be balanced with the amount of code that's needed to implement it, so it may be better off in a plugin forever. I don't want to offer any promises, other than saying at this stage, it's not on our short- to mid-term plans. :)

#3 @dingo_bastard
8 years ago

Oh, cool :) Thanks for the explanation.

This ticket was mentioned in Slack in #core-js by dingo_d. View the logs.


7 years ago

#5 @dd32
6 years ago

  • Reporter changed from dingo_bastard to dingo_d
Note: See TracTickets for help on using tickets.