Handle omitempty correctly for slices
We were generating broken code; fixes #43. Also fixes a bug where
applying omitempty to the entire query was broken by e597cac74c.
This commit is contained in:
+2
@@ -99,6 +99,8 @@ type Query {
|
||||
"""
|
||||
user(query: UserQueryInput): User
|
||||
|
||||
users(query: [UserQueryInput]): User
|
||||
|
||||
"""usersWithRole looks a user up by role."""
|
||||
usersWithRole(role: Role!): [User!]!
|
||||
root: Topic!
|
||||
|
||||
Reference in New Issue
Block a user