Skip to content

Commit 3eb86b3

Browse files
authored
Merge pull request #7 from Q42Philips/add-release-badge
docs: Update README.md with release version
2 parents a475cd8 + 526930b commit 3eb86b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# node-grpc-error-details
22

33
[![Build and test](https://github.com/Q42Philips/node-grpc-error-details/actions/workflows/build-and-test.yaml/badge.svg)](https://github.com/Q42Philips/node-grpc-error-details/actions/workflows/build-and-test.yaml)
4+
![GitHub release (with filter)](https://img.shields.io/github/v/release/q42philips/node-grpc-error-details)
5+
46

57
Utility function for deserializing the `grpc-status-details-bin` metadata value when using the [grpc-js](https://github.com/grpc/grpc-node) package. Error details allow sending/receiving additional data along with an error. For instance, if a request sends invalid data, a gRPC server could send back a [BadRequest](./src/proto/error_details.proto#L119) message identifying the field and why it failed validation.
68

0 commit comments

Comments
 (0)