medusa icon indicating copy to clipboard operation
medusa copied to clipboard

GraphQL API for querying data from Medusa

Open olivermrbl opened this issue 2 years ago • 2 comments

We want to add a GraphQL API layer for querying data from Medusa.

Generally, we see two approaches:

  • Adding a GraphQL layer on top of our Rest API
  • Adding a GraphQL layer, that communicated directly with our service layer

Research is required for this task, and all feedback is highly appreciated.

olivermrbl avatar Oct 25 '21 12:10 olivermrbl

From my research, I would argue something in the direction of this seems to be the most appropriate, as it simply tasks us with the creation of appropriate resolvers corresponding to our existing models and endpoints.

sebastiannicolajsen avatar Oct 27 '21 06:10 sebastiannicolajsen

Hi there, great project! In my personal opinion, GraphQL is not a one fit's all solution. I have little reviewed the code base and just wondering why you guys didn't implemented a ORM and an API abstraction layer? Do you know feathersjs? We, at a bigger e-commerce company in Europe, use it heavily.

sajov avatar May 17 '22 14:05 sajov