Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,330
    • Merge requests 1,330
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #258969
Closed
Open
Issue created Sep 30, 2020 by Jan Provaznik@jprovaznik🔴Maintainer

GraphQL: consider adding a helper method for defining negated arguments

We settled on the format of passing negated arguments (!41350 (merged)). There are various options to defined the list of arguments which can be negated. One of elegant options which was suggested by @alexkalderimis in !41350 (comment 416036126) is having a helper resolver method which would limit the size of boilerplate for negated args definition.

Because at the moment of documenting negated args (!41350 (merged)) it wasn't used in the code, we didn't add it into documentation, but it seems to be an elegant solution to consider when anyone will be adding negated args for a resolver.

Assignee
Assign to
Time tracking