Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC][SPIKE] feat(graphql): add a PoC for graphql integration #2670

Draft
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@raymondfeng
Copy link
Member

raymondfeng commented Apr 1, 2019

Spiking on GraphQL integration using type-graphql.

High-level mapping:

  • Resolver -> Controller
  • *Type -> Model
  • Field -> Property
  • fieldResolver -> Relation

High-level design:

  • Add GraphQLServer to expose graphql endpoints
  • Add graphql related decorators for controllers
  • Add/unify graphql decorations for models/properties

Maybe we should also create a graphql connector.

Checklist

馃憠 Read and sign the CLA (Contributor License Agreement) 馃憟

  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Documentation in /docs/site was updated
  • Affected artifact templates in packages/cli were updated
  • Affected example projects in examples/* were updated
@bajtos

This comment has been minimized.

Copy link
Member

bajtos commented Apr 18, 2019

I'd like to put this pull request on hold until we figure out how to approach experimental features - see #2676

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can鈥檛 perform that action at this time.