parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

Remove GraphQL API from core codebase

Open mtrezza opened this issue 3 years ago • 1 comments

New Feature / Enhancement Checklist

Current Limitation

The GraphQL API has been implemented into the core codebase of Parse Server. This has shown to cause many complications since its implementation, for example:

  • the GraphQL API is heavy; it adds a swath of complex dependencies that need to be kept up-to-date
  • developers who are not using GraphQL are still carrying the weights of an - unused - GraphQL API on their server, being affected by vulnerabilities in GraphQL dependencies, etc.
  • the implementation into the core codebase was really violating a core philosophy of Parse Server which is modularity, allowing developers to optionally add adapters as needed, to keep their deployment as lightweight as possible

Feature / Enhancement Description

Move GraphQL API out of Parse Server into its own adapter. Despite its initial hype, GraphQL won't be the last API of its kind and we will see it become obsolete at some point in the future.

An adapter implementation of the GraphQL API should follow https://github.com/parse-community/parse-server/issues/7744#issuecomment-1001753642 since it is the most sustainable approach, without just shifting the technological debt to another one-of-a-kind adapter interface with its custom specifications.

Example Use Case

n/a

Alternatives / Workarounds

n/a

3rd Party References

n/a

mtrezza avatar May 06 '22 14:05 mtrezza

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!