vroldanbet
09/07/2022, 12:28 PMLookupResources
which lists all the resources the user has access to. It's a streaming RPC method.
When it comes to denormalizing that information into a different system, for that you would need the upcoming LookupWatch
API, which provides a streaming API of changes so that other systems (like search indexes) can keep a copy.
More info at https://github.com/authzed/spicedb/issues/207filth
09/07/2022, 12:34 PMbqhr
09/07/2022, 11:00 PMnxt.cma
09/08/2022, 1:49 PMValidation Call Failed. Please try again shortly
.vroldanbet
09/08/2022, 1:52 PMvroldanbet
09/08/2022, 1:52 PMnxt.cma
09/08/2022, 1:54 PMFailed to load development package: DOMException: The operation was aborted.
Also I see that the WASM file is not loading (never finishes loading, i.e. no 200 status is shown)nxt.cma
09/08/2022, 1:55 PMnxt.cma
09/08/2022, 1:55 PMnxt.cma
09/08/2022, 1:56 PMGot incoming posted message
and then some objectvroldanbet
09/08/2022, 1:57 PMnxt.cma
09/08/2022, 1:57 PMnxt.cma
09/08/2022, 1:58 PMvroldanbet
09/08/2022, 1:58 PMvroldanbet
09/08/2022, 1:58 PMnxt.cma
09/08/2022, 2:00 PMAlsbury
09/08/2022, 7:21 PMprotoc
installed and was able to build libs from one of the sample gRPC examples. Looking in the proto/internals folder of SpiceDB, I see that buf
is being used. Should I be using buf
to build my PHP libs? Am I on the right track?Joey
09/08/2022, 7:26 PMjzelinskie
09/08/2022, 7:47 PMyetitwo
09/08/2022, 8:01 PMniodice
09/08/2022, 10:33 PMecordell
09/08/2022, 10:44 PMspicedb serve
takes two flags to help with that:
--datastore-bootstrap-files strings bootstrap data yaml files to load
--datastore-bootstrap-overwrite overwrite any existing data with bootstrap data
the file format they take is the same that the playground exports when you save to a fileJeroen (Speedzor)
09/09/2022, 11:03 AMecordell
09/09/2022, 11:09 AMecordell
09/09/2022, 11:21 AMAlsbury
09/09/2022, 2:47 PMJake
09/09/2022, 2:48 PMAlsbury
09/09/2022, 2:55 PMbuf.gen.yaml
from opt: "paths=source_relative,lang=go"
to opt: "paths=source_relative,lang=php"
. Then I ran buf generate proto/internal
. Then I get `[validator]could not find templates for `lang`: php`Alsbury
09/09/2022, 2:56 PMJake
09/09/2022, 2:58 PM