RFC: Can we deprecate and remove GraphQL?

GraphQL was first introduced into the Foreman project in 2018. Since then, I do not believe it has been widely adopted by plugins or used by core. We then have two APIs we are attempting to support, the REST API and GraphQL.

I am wondering if this is a dependency that we can remove from Foreman to reduce our dependencies, and attack surfaces.

1 Like

We will have to find capacity to remove it from REX and ansible Code search results · GitHub

There is at least one consumer outside of Foreman itself:

I have heard a while back downstream of some consultants using it to make customized dashboards etc for customers. Would be worthwhile to ask SA/consultants and get a feel how much it’s being used downstream still.

Do we use GraphQL for our internal cross-plugin communication?
I think we don’t, so it could be “just a removal” without breaking any features*.

* Didn’t check into details, I might be wrong.