grpc / grpc-web

gRPC for Web Clients
https://grpc.io
Apache License 2.0
8.46k stars 762 forks source link

Fixes the status codes ordering in typescript definitions #1279

Closed chandraaditya closed 1 year ago

chandraaditya commented 1 year ago

In the grpc-web package the status codes are in the wrong order causing them to be interpreted differently, so when comparing status codes that we get from a service it is not the same, this commit fixes that.

This ordering is causing misinterpretation of error codes: Wrong ordering

Correct ordering as per gRPC specs: Correct order

This fixes issue #1243

linux-foundation-easycla[bot] commented 1 year ago

CLA Signed

The committers listed above are authorized under a signed CLA.