Skip to content

PHPLIB-499: Handle absence of 'ns' field in index specifications returned from listIndexes #718

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

Closed
wants to merge 1 commit into from

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Feb 4, 2020

This serves as POC for the change. When creating an IndexInfoIterator, we provide it with an optional namespace, which will be used for the ns field in the index information if it wasn't provided by the server (which will be the case for 4.4).

This PR also deprecates the getNamespace method for consistency with the server. We may want to keep the method, but considering that the namespace is no longer part of the index information returned by the server, we may opt to drop the method as well.

@alcaeus alcaeus self-assigned this Feb 4, 2020
@alcaeus alcaeus requested a review from jmikola February 4, 2020 09:20
@alcaeus alcaeus changed the title [WAIT] PHPLIB-499: Handle absence of 'ns' field in index specifications returned from listIndexes PHPLIB-499: Handle absence of 'ns' field in index specifications returned from listIndexes Feb 10, 2020
alcaeus added a commit that referenced this pull request Feb 14, 2020
@alcaeus
Copy link
Member Author

alcaeus commented Feb 14, 2020

Merged manually in 23e32dd.

@alcaeus alcaeus closed this Feb 14, 2020
@alcaeus alcaeus deleted the phplib-499 branch February 14, 2020 12:39
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.

2 participants