Skip to content

MelvinVermeer/graphql-gateway-federation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gateway

npm start
query Product {
  product(id: "123") {
    id
    name
    price
  }
}

Open issue

@internal directive is still in draft the rename to productPrice (instead of product) is to prevent naming conflicts in the gateway. Ideally the query in the pricing typeDefs looks like:

extend type Query {
  product(id: String!): Product! @internal
}

About

A sample that show the possibilities of Apollo federation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published