ory / keto

Open Source (Go) implementation of "Zanzibar: Google's Consistent, Global Authorization System". Ships gRPC, REST APIs, newSQL, and an easy and granular permission language. Supports ACL, RBAC, and other access models.

Home Page:https://www.ory.sh/?utm_source=github&utm_medium=banner&utm_campaign=keto

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrade deprecated `grpc-tools` to `@grpc/grpc-js`

aeneasr opened this issue · comments

Preflight checklist

Describe the bug

grpc-tools does not work with Apple M1 as darwin arm64 binaries are missing, thus it is not possible to run tasks like make buf on an Apple M1 chip.

grpc-tools is deprectead, and maintainers encourage to use @grpc/grpc-js instead.

Reproducing the bug

See above

Relevant log output

No response

Relevant configuration

No response

Version

master

On which operating system are you observing this issue?

No response

In which environment are you deploying?

No response

Additional Context

No response

grpc-tools is not deprecated and does something completely different than @grpc/grpc-js. We already use @grpc/grpc-js instead of the deprecated grpc package.
However, I overhauled and upgraded the buf and protoc pipeline in #1097. I hope that works on apple arm chips now.

The new version should work on mac/arm grpc/grpc-node#1405 (comment) outside of docker at least.