ArgumentError from query `getInstanceMemberRoles`
Problem
GraphQL query to fetch getInstanceMemberRoles
raises an unhandled ArgumentError
:
ArgumentError: at least one filter param has to be provided
from ee/app/finders/member_roles/roles_finder.rb:38:in `validate_arguments!'
from ee/app/finders/member_roles/roles_finder.rb:25:in `execute'
from ee/app/graphql/resolvers/member_roles/roles_resolver.rb:29:in `resolve_with_lookahead'
from app/graphql/resolvers/concerns/looks_ahead.rb:14:in `resolve'
from graphql (2.2.5) lib/graphql/schema/resolver.rb:107:in `public_send'
from graphql (2.2.5) lib/graphql/schema/resolver.rb:107:in `block (3 levels) in resolve_with_support'
from graphql (2.2.5) lib/graphql/schema.rb:1276:in `after_lazy'
from graphql (2.2.5) lib/graphql/query.rb:374:in `after_lazy'
from graphql (2.2.5) lib/graphql/schema/resolver.rb:94:in `block (2 levels) in resolve_with_support'
from graphql (2.2.5) lib/graphql/schema.rb:1276:in `after_lazy'
from graphql (2.2.5) lib/graphql/query.rb:374:in `after_lazy'
from graphql (2.2.5) lib/graphql/schema/resolver.rb:85:in `block in resolve_with_support'
from graphql (2.2.5) lib/graphql/schema.rb:1276:in `after_lazy'
from graphql (2.2.5) lib/graphql/query.rb:374:in `after_lazy'
from graphql (2.2.5) lib/graphql/schema/resolver.rb:73:in `resolve_with_support'
from graphql (2.2.5) lib/graphql/schema/field.rb:698:in `public_send'
from graphql (2.2.5) lib/graphql/schema/field.rb:698:in `block (2 levels) in resolve'
from graphql (2.2.5) lib/graphql/schema/field.rb:843:in `block in with_extensions'
- Kibana link: https://log.gprd.gitlab.net/app/r/s/O8C2v
- Sentry error: https://new-sentry.gitlab.net/organizations/gitlab/issues/608591