Hi I'm following the documentation SDK for keto a...
# talk-keto
a
Hi I'm following the documentation SDK for keto and the
Copy code
check, err := checkClient.Check(context.Background(), &acl.CheckRequest{
        Namespace: "blog_posts",
        Object:    "my-first-blog-post",
        Relation:  "read",
        Subject:   acl.NewSubjectID("alice"),
    })
acl.NewSubjectID function seems to be undefined in current library. https://www.ory.sh/docs/keto/sdk/go
m
Hello @adorable-article-65467 I dont have time to confirm this now, but would you be willing to open a bug report on GitHub? https://github.com/ory/sdk/issues/new?assignees=&labels=bug&template=BUG-REPORT.yml This would help us keep track of this and fix it soon 🙂
https://pkg.go.dev/github.com/ory/keto/proto/ory/keto/acl/v1alpha1 is deprecated, and sometimes go resolves to an actually older version...