Skip to content

Commit

Permalink
fix(docs): grpc docs (#852)
Browse files Browse the repository at this point in the history
<!--
Pull requests are squashed and merged using:
- their title as the commit message
- their description as the commit body

Having a good title and description is important for the users to get
readable changelog.
-->

<!-- 1. Explain WHAT the change is about -->

-

<!-- 2. Explain WHY the change cannot be made simpler -->

-

<!-- 3. Explain HOW users should update their code -->

#### Migration notes

...

- [ ] The change comes with new or modified tests
- [ ] Hard-to-understand functions have explanatory comments
- [ ] End-user documentation is updated to reflect the change
  • Loading branch information
j03-dev authored Sep 20, 2024
1 parent c31e20c commit 28f66cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/metatype.dev/docs/reference/runtimes/grpc/grpc.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
query {
greet(name: "Metatype") {
message
}
}
1 change: 1 addition & 0 deletions docs/metatype.dev/docs/reference/runtimes/grpc/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ This method creates a typegraph function for gRPC method calls. It accepts the f
typegraph="grpc"
typescript={require("!!code-loader!../../../../../../examples/typegraphs/grpc.ts")}
python={require("!!code-loader!../../../../../../examples/typegraphs/grpc.py")}
query={require("./grpc.graphql")}
/>

0 comments on commit 28f66cc

Please sign in to comment.