• Alex Kalderimis's avatar
    Expose queries over a users merge requests · 5e39832d
    Alex Kalderimis authored
    We expose the graph:
    
      User -[authored]-----> MergeRequest
           -[assigned to] -> MergeRequest
    
    Via two new edges on `User`: `authoredMergeRequests` and
    `assignedMergeRequests`.
    
    As an incidental improvement, `User.state` is made into an `enum` - this
    change is backwards compatible since the output is the same: a string.
    5e39832d
user_resolver_spec.rb 1.04 KB