Skip to content
This repository was archived by the owner on Sep 12, 2026. It is now read-only.

WIP: GraphQL bindings with protobuffer annotations - #99

Draft
emcfarlane wants to merge 4 commits into
mainfrom
graphql
Draft

emcfarlane wants to merge 4 commits into
mainfrom
graphql

Conversation

@emcfarlane

@emcfarlane emcfarlane commented May 10, 2023

Copy link
Copy Markdown
Owner

Bind services to graphql methods with protobuf annotations.

message Faction {
  string name = 1;
  string display_name = 2;
  option (larking.api.edge) = {
    name : "ships"
    method : "/larking.api.StarWars/ListShips"
  };
}

service StarWars {
   rpc GetFaction(GetFactionRequest) returns (Faction) {
     option (larking.api.graphql) = {
       query : "faction"
     };
  }
}

@emcfarlane emcfarlane self-assigned this May 10, 2023

This branch has not been deployed

No deployments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant