mayajs / graphql

MayaJS GraphQL Decorators and Modules
MIT License
1 stars 0 forks source link

GraphQL Support #1

Open SeijiV13 opened 5 years ago

SeijiV13 commented 5 years ago

📝 Description

Suggestion for an enhancement. -supports graph Ql API

📋 Todo:

mackignacio commented 5 years ago

What will be a good approach to this? Most likely this is another module that you will import inside a controller. Another approach is a combination of module and decorator. @SeijiV13 if you have an idea kindly make a branch and we can work on this.

SeijiV13 commented 5 years ago

@Mackignacio I think the best approach would be the combination of module and decorator that will identify what endpoints that will be compatible for GraphQL. I can research on this to have more idea on the best implementation

mackignacio commented 5 years ago

@SeijiV13 Ok That's great. I'm also thinking this must be on another repo separate from the core library.

SeijiV13 commented 5 years ago

@Mackignacio yes great idea, as GraphQL may have additional features like mutations, this is good if it is separated.

mackignacio commented 5 years ago

But for now we can do this on a separate branch.