Skip to content

Commit

Permalink
Workaround for #141
Browse files Browse the repository at this point in the history
Remove cause of internal hasura error
  • Loading branch information
vcfxb committed Jul 9, 2021
1 parent ed43721 commit 72d6c79
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion graphql/rcos/meetings/edit/host_selection.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@ query EditHostSelection($meeting_id: Int!) {
mentors: small_groups(order_by: [{title: asc}]) {
title

small_group_mentors(order_by: [{user: {first_name: asc}}, {user: {last_name: asc}}]) {
# Adding an extra order-by argument here causes hasura to error
# internally.
#
# See
# - https://github.com/rcos/Telescope/issues/141
# - https://github.com/hasura/graphql-engine/issues/3796
small_group_mentors(order_by: [{user: {first_name: asc}}]) {
user { ... HostInfo }
}
}
Expand Down

0 comments on commit 72d6c79

Please sign in to comment.