GraphQL Schema Stitching

Let’s take a look at one of the practices that are widely adopted when working with GraphQL.

Thread πŸ§΅πŸ‘‡πŸ»
GraphQL Schema Stitching is the process of creating a single GraphQL schema from multiple underlying GraphQL APIs.

You can use two or more GraphQL schemas and merge them into one endpoint to get data from all the underlying schemas.
It provides you with a unified API that you can use to query multiple GraphQL schemas simultaneously.

You can also use it to customize an existing GraphQL API.
With GraphQL, you do not have to wait for a single request to resolve to fetch new data based on the response of the previous request. You can just query all the data at once to one schema.
As the schema grows, you might want to break it up into modules that can develop independently.

With `sitchSchemas`, you can combine multiple GraphQL APIs into one unified gateway proxy schema.
It knows how different parts of the schema works, and because of this, it delegates portions of the requests to the relevant underlying subschemas.
πŸ“Œ Use case of Schema Stitching

πŸ”Ή You can stitch internal schemas with other internal schemas to ease deployment or versioning.
πŸ”Ή You can integrate different services by adding public APIs to your schema.

πŸ”Ή You can create a mashup API by combining multiple public APIs.

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with RapidAPI

RapidAPI Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @Rapid_API

3 Dec
Learn REST APIs

In this thread, we will talk about HTTP methods, principles of REST APIs, security, and versioning.

πŸ§΅πŸ‘‡πŸ»
The abbreviation REST stands for "REpresentational State Transfer".

REST APIs operate on a simple request/response system. You can send a request using these HTTP methods:
HTTP has a fixed number of methods that the client can use to indicate what type of operation it wants to perform via the request.

πŸ”Ή GET
πŸ”Ή POST
πŸ”Ή PUT
πŸ”Ή PATCH
πŸ”Ή DELETE
πŸ”Ή HEAD
πŸ”Ή TRACE
πŸ”Ή OPTIONS
πŸ”Ή CONNECT
Read 23 tweets
1 Dec
Top five Visual Recognition APIs you can use to build excellent web applications.

Thread πŸ§΅πŸ‘‡πŸ»
1️⃣ Face Detection

Face Detection API helps you detect the location of human faces in your images with optional extra features like Age and Gender.

πŸ”— RapidAPI.com/inferdo/api/fa…

πŸ“ˆ Popularity: 9.7/10
πŸ•› Latency: 1,149ms
βœ… Service Level: 100%
2️⃣ Brand Recognition

This ready-to-use API provides high-accuracy brand detection and logo recognition.

πŸ”— RapidAPI.com/api4ai-api4ai-…

πŸ“ˆ Popularity: 8.6/10
πŸ•› Latency: 911ms
βœ… Service Level: 100%
Read 7 tweets
30 Nov
A complete introduction to GraphQL

GraphQL is a query language that lets your client request the server to send only the required data.

Let's deep dive into it. πŸ§΅πŸ‘‡πŸ»
GraphQL was created by developers at Facebook in 2012.

GraphQL was developed to support the complicated data structures required to show the Facebook News Feed on the mobile application.
Using GraphQL, the client can request the necessary data using a single endpoint with a defined schema.
Read 17 tweets
29 Nov
A complete introduction to RPC and gRPC

Microservices are usually written in different languages, making it challenging to manage them and exchange information.

Here gRPC comes into play.

Thread πŸ§΅πŸ‘‡πŸ»
Before jumping onto gRPC, we need to understand what RPC is πŸ‘‡πŸ»
πŸ“Œ RPC

RPC stands for Remote Procedure Call, and it's a client-server communication method in use today.

In typical HTTP, the client makes a request and gets a response from the server.
Read 9 tweets
26 Nov
There are different kinds of specifications available that you can use while building an API.

In this thread, we will talk about the OpenAPI spec.

🧡 πŸ‘‡πŸ»
In simple terms, OpenAPI spec is a format to define structure and syntax for REST APIs.
OpenAPI spec provides a standard that allows both humans and computers to discover and understand the service's capabilities without access to source code, documentation, or traffic inspection
Read 13 tweets
25 Nov
CORS can be tackled quickly with the understanding of a few HTTP headers.

Let's discuss them in a bit more detail. πŸ§΅πŸ‘‡πŸ»
We are going to cover HTTP request headers first, and then we will jump onto HTTP response headers.
πŸ“Œ HTTP Request Headers

The client can use a few HTTP request methods with their API calls in order to make maximum use of the Cross-Origin resource sharing feature.
Read 12 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(