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

[cherry-pick] Add namespaces field to state #7936

Merged
merged 1 commit into from Jun 30, 2021

Conversation

OmarAyo
Copy link
Contributor

@OmarAyo OmarAyo commented Jun 30, 2021

Motivation:
Currently, there is no way to query namespaces. This adds namespaces field to state. This field can be used to query list of namespaces.
Note that this will output list of namespace only in case the user is an admin user (guardians of galaxy). In all other cases, it will return an empty list.

(cherry picked from commit d2bd832)


This change is Reviewable

* Add namespaces to state

* Add tests

* Fix golint errors

* Address Naman's comments

(cherry picked from commit d2bd832)
@OmarAyo OmarAyo requested a review from NamanJain8 June 30, 2021 14:09
@github-actions github-actions bot added the area/graphql Issues related to GraphQL support on Dgraph. label Jun 30, 2021
@OmarAyo OmarAyo merged commit 6fa3c63 into release/v21.03 Jun 30, 2021
@OmarAyo OmarAyo deleted the omar/cherry-pick-namespaces-field-to-state branch June 30, 2021 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/graphql Issues related to GraphQL support on Dgraph.
Development

Successfully merging this pull request may close these issues.

None yet

3 participants