Skip to content

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

Closed
raymondfeng wants to merge 1 commit into
masterfrom
graphql
Closed

[RFC][SPIKE] feat(graphql): add a PoC for graphql integration#2670
raymondfeng wants to merge 1 commit into
masterfrom
graphql

Conversation

@raymondfeng

@raymondfeng raymondfeng commented Apr 1, 2019

Copy link
Copy Markdown
Contributor

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

bajtos commented Apr 18, 2019

Copy link
Copy Markdown
Member

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

@raymondfeng

Copy link
Copy Markdown
Contributor Author

Move to strongloop/loopback-labs#3

@bajtos
bajtos deleted the graphql branch May 14, 2019 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants