Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-28Expose permissions on types in GraphQLBob Van Landuyt
This adds a reusable way to expose permissions for a user to types in GraphQL.
2018-06-15Allow querying a single MR within a projectBob Van Landuyt
This allows the user to get a single MR nested in a GraphQL project query. Since we need the full path and the iid anyway, this makes more sense than having a root query that needs the full path as well.
2018-06-14Correct the type of the `MergeRequestResolver`.Bob Van Landuyt
This was overridden in the fields where this resolver was used. So this change is purely cosmetic.
2018-06-06Initial setup GraphQL using graphql-ruby 1.8Bob Van Landuyt
- All definitions have been replaced by classes: http://graphql-ruby.org/schema/class_based_api.html - Authorization & Presentation have been refactored to work in the class based system - Loaders have been replaced by resolvers - Times are now coersed as ISO 8601
2018-06-05Add `present_using` to typesBob Van Landuyt
By specifying a presenter for the object type, we can keep the logic out of `GitlabSchema`. The presenter gets initialized using the object being presented, and the context (including the `current_user`).
2018-06-05Convert from GraphQL::Batch to BatchLoaderNick Thomas
2018-06-05Add a minimal GraphQL APINick Thomas