From 964f3c71e927b9ad93d0e2798aeeb98c9bf6cc68 Mon Sep 17 00:00:00 2001 From: Timo Stamm Date: Wed, 27 Nov 2024 17:45:05 +0100 Subject: [PATCH] Name the new type name for service descriptors in MIGRATING.md --- MIGRATING.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/MIGRATING.md b/MIGRATING.md index 83cff94c4..e5e9a6ec9 100644 --- a/MIGRATING.md +++ b/MIGRATING.md @@ -507,10 +507,11 @@ await server.register( ### Changes to service descriptors Connect now relies on service descriptors generated by the Protobuf-ES v2 plugin -`protoc-gen-es` and no longer generates code itself. The descriptors still provide -the same functionality - typed metadata for clients and servers - but in a slightly -different form. Types and properties have changed to consolidate the reflection -APIs and to provide new features. +`protoc-gen-es` and no longer generates code itself. The type for service +descriptors changes from `ServiceType` to `DescService` from `@bufbuild/protobuf`. +The descriptors still provide the same functionality - typed metadata for clients +and servers - but in a slightly different form. Types and properties have changed +to consolidate the reflection APIs and to provide new features. > [!TIP] >