Publish code-generation.md (#6948)

Set the hidden tag to false and make this article public.
This commit is contained in:
Adi Shankara 2023-12-15 20:40:16 +05:30 committed by GitHub
parent 328863e6be
commit 3391bd1a72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
---
title: "Code Generation"
slug: "code-generation"
hidden: true
hidden: false
createdAt: "2023-04-22T12:29:01.116Z"
updatedAt: "2023-04-22T12:44:47.814Z"
---
@ -71,4 +71,4 @@ The `cln-grpc` crate is mostly used to provide the primitives to build the `grpc
- Next it generates the `convert.rs` file which is used to convert the structs for in-memory representation from `cln-rpc` into the corresponding protobuf structs.
- Finally `msggen` generates the `server.rs` file which can be bound to a grpc endpoint listening for incoming grpc requests, and it will convert the request and forward it to the JSON-RPC. Upon receiving the response it gets converted back into a grpc response and sent back.
![](https://files.readme.io/53b4645-image.png)
![](https://files.readme.io/53b4645-image.png)