Skip to content

dpineda64/graphql-apigateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GRAPHQL API GATEWAY

Search for microservices and build a dynamically generated graphql Schema based on service Request and Response

Example

syntax = "proto3";

package go.graphql.test;

service Users {
    rpc Get(Request) returns (User) {}
}

message Request {
    int32 id = 1;
}

message User {
    bool done =1;
    int32 id = 2;
    string username = 3;
}

that is transformed into a Graphql query like this

Users_Get(id: Int): Users_Get

NOTE this does not convert from proto to graphql syntax

Not tested on production or with complex queries and mutations are not implemented yet

Build with

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages