Skip to content

Commit

Permalink
Name the new type name for service descriptors in MIGRATING.md (#1343)
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Stamm <[email protected]>
  • Loading branch information
timostamm authored Dec 2, 2024
1 parent dfe3b4f commit ff52cf2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions MIGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
>
Expand Down

0 comments on commit ff52cf2

Please sign in to comment.