Skip to content

Schema Stitching. Combining multiple schemas into one #435

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
k-kundan opened this issue Jan 22, 2019 · 0 comments
Open

Schema Stitching. Combining multiple schemas into one #435

k-kundan opened this issue Jan 22, 2019 · 0 comments

Comments

@k-kundan
Copy link

If I have the following two remote GraphQL schemas:

type Event {
  date: String
  location: String
}

Query {
   event(date: String): Event
}
type Weather {
  temperature Int
  condition String
  windSpeed: Int
}

Query {
  forecast(location: String): Weather
}

I should be able to stich them toghether and perform the following query:

query GetEvent($date: String) {
  event(date: $date) {
    location {
      temperature
    }
  }
} 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant