_, err = client.TransactRelationTuples(context.Bac...
# talk-keto
a
_, err = client.TransactRelationTuples(context.Background(), &acl.TransactRelationTuplesRequest{ RelationTupleDeltas: []*acl.RelationTupleDelta{ { Action: acl.RelationTupleDelta_INSERT, RelationTuple: &acl.RelationTuple{ Namespace: "blog_posts", Object: "my-first-blog-post", Relation: "read", Subject: acl.NewSubjectID("alice"), }, }, }, }) when i try to create tuple using golang its give
NewSubjectID not declared by package acl
This is how i import grpc api
acl "<http://github.com/ory/keto/proto/ory/keto/acl/v1alpha1|github.com/ory/keto/proto/ory/keto/acl/v1alpha1>"
s
and what version of the package are you using?
a
v0.10.0-alpha.0
I just followed the grpc api example in doc
s
ok the package was renamed:
gRPC package is now called
ory.keto.relation_tuples.v1alpha2
sorry for the inconvenience with that...
a
thanks
for the help