api
api copied to clipboard
Protocol Buffers & gRPC Services used by SpiceDB
Fixes https://github.com/authzed/authzed-java/issues/80 # ⚠️ This is a breaking change for authzed-java ⚠️ Tweaks the proto java output to have more ergonomic class names. As a consequence, all types become top-level...
The current regex: ``` ^(([a-zA-Z0-9/_|\\-=+]{1,})|\\*)$ ``` Doesn't allow for object ids that include `:` as separators, which are sometimes used in user identifiers.
## Background (take this explanation with a grain of salt; I would not call myself an expert on protobuf and generated code) You can see the problem here: https://github.com/authzed/authzed-java/blob/main/examples/v1/App.java#L10-L25 This...
If I use buf generate `buf.build/authzed/api`, it will only generate authzed/api/ c++ code, without dependencies needed like `google/api`. How I fix this problem now is I copy all the .proto...
ReadSchema has `schemaText` and WriteSchema has `schema`. We should probably add `schemaText` to WriteSchema and deprecate `schema`
Here: https://github.com/authzed/api/blob/main/authzed/api/v1/permission_service.proto#L269
The generated OpenAPI currently pulls in these all APIs, the older ones (v0, v1alpha1) which have no OpenAPI configuration and conflicting names.