From 28f66cc838f4cbe3aa832ba2b1b2acf78c778b26 Mon Sep 17 00:00:00 2001 From: FITAHIANA Nomeniavo joe <24nomeniavo@gmail.com> Date: Fri, 20 Sep 2024 18:15:04 +0300 Subject: [PATCH] fix(docs): grpc docs (#852) - - #### 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 --- docs/metatype.dev/docs/reference/runtimes/grpc/grpc.graphql | 5 +++++ docs/metatype.dev/docs/reference/runtimes/grpc/index.mdx | 1 + 2 files changed, 6 insertions(+) create mode 100644 docs/metatype.dev/docs/reference/runtimes/grpc/grpc.graphql diff --git a/docs/metatype.dev/docs/reference/runtimes/grpc/grpc.graphql b/docs/metatype.dev/docs/reference/runtimes/grpc/grpc.graphql new file mode 100644 index 0000000000..f0354ac121 --- /dev/null +++ b/docs/metatype.dev/docs/reference/runtimes/grpc/grpc.graphql @@ -0,0 +1,5 @@ +query { + greet(name: "Metatype") { + message + } +} diff --git a/docs/metatype.dev/docs/reference/runtimes/grpc/index.mdx b/docs/metatype.dev/docs/reference/runtimes/grpc/index.mdx index e26167b98d..c66be5a273 100644 --- a/docs/metatype.dev/docs/reference/runtimes/grpc/index.mdx +++ b/docs/metatype.dev/docs/reference/runtimes/grpc/index.mdx @@ -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")} />