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

Add support for namespaces #12

Merged
merged 5 commits into from
May 10, 2024
Merged

Add support for namespaces #12

merged 5 commits into from
May 10, 2024

Conversation

mehmettokgoz
Copy link
Contributor

No description provided.

@mdogan mdogan requested review from mdumandag and mdogan May 8, 2024 07:47
index.go Outdated Show resolved Hide resolved
namespace.go Outdated Show resolved Hide resolved
namespace.go Outdated Show resolved Hide resolved
types.go Outdated Show resolved Hide resolved
Copy link
Contributor

@mdumandag mdumandag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good to me now, but I have one recommendation regarding to tests. We now do not test operations like upsert, fetch, delete etc. over the Index, but use them over the Namespace all the time. May I suggest to use Index when the ns == defaultNamespace, and Namespace when ns == ns in tests? WDYT?

@mdogan mdogan marked this pull request as ready for review May 10, 2024 08:41
@mdogan mdogan merged commit bdd081c into main May 10, 2024
1 check passed
@mdogan mdogan deleted the namespace branch May 10, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants