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

List of enums in a field argument, are created not as a list #66

Open
leoloso opened this issue Apr 8, 2021 · 0 comments
Open

List of enums in a field argument, are created not as a list #66

leoloso opened this issue Apr 8, 2021 · 0 comments

Comments

@leoloso
Copy link

leoloso commented Apr 8, 2021

I have a field myPosts with fieldArg status as a list of enums. The explorer shows a select to select the enum, that's cool, but when clicking on it, it adds the enum value directly to the query, and not within a list.

The query should be like this instead:

query MyQuery {
-  myPosts(status: publish) {
+  myPosts(status: [publish]) {
    id
  }
}

Screenshot 2021-04-08 at 4 04 25 PM

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

No branches or pull requests

1 participant