Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace readable names by uuids in the readme, tests and examples #276

Open
rhamzeh opened this issue Jan 15, 2024 · 1 comment
Open

Replace readable names by uuids in the readme, tests and examples #276

rhamzeh opened this issue Jan 15, 2024 · 1 comment
Labels
dotnet-sdk Affects the C#/DotNet SDK go-sdk Affects the Go SDK good first issue Good for newcomers java-sdk Affects the Java/Kotlin SDK js-sdk Affects the JavaScript SDK python-sdk Affects the Python SDK

Comments

@rhamzeh
Copy link
Member

rhamzeh commented Jan 15, 2024

For example here in the .NET SDK

var body = new ClientCheckRequest {
    User = "user:81684243-9356-4421-8fbf-a4f8d36aa31b",
    Relation = "writer",
    Object = "document:roadmap"
};

can be written as:

var body = new ClientCheckRequest {
    User = "user:81684243-9356-4421-8fbf-a4f8d36aa31b",
    Relation = "writer",
    Object = "document:9f81b5ba-cd00-450e-8127-3786c92aeab9"
};
@rhamzeh rhamzeh added good first issue Good for newcomers go-sdk Affects the Go SDK dotnet-sdk Affects the C#/DotNet SDK js-sdk Affects the JavaScript SDK python-sdk Affects the Python SDK java-sdk Affects the Java/Kotlin SDK labels Jan 15, 2024
@srose
Copy link
Contributor

srose commented Feb 24, 2024

I am wondering why uuids are favored over readable names especially in readmes, tests and examples. Any small hint is appreciated...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet-sdk Affects the C#/DotNet SDK go-sdk Affects the Go SDK good first issue Good for newcomers java-sdk Affects the Java/Kotlin SDK js-sdk Affects the JavaScript SDK python-sdk Affects the Python SDK
Projects
Status: Backlog
Development

No branches or pull requests

2 participants