Skip to content
Snippets Groups Projects
  1. Sep 04, 2019
  2. Jul 30, 2019
  3. Jul 25, 2019
  4. Jul 10, 2019
  5. Jun 28, 2019
  6. Jun 15, 2019
    • Patrick Derichs's avatar
      Add task count and completed count to graphql types · 453a9b29
      Patrick Derichs authored
      Add specs for task completion status (graphql)
      
      Fix style issues
      
      Changed format of constants in spec
      
      Refactor specs to reduce creation of records
      
      Reduce parameters to merge request creation
      
      Use set's for project and user
      
      Move let's out of it_behaves_like block
      
      Fix description parameter
      
      Fix format of lets
      
      Use dig to get task completion status out of graphql response
      
      Modified rspec output
      
      Add changelog entry
      453a9b29
  7. May 28, 2019
    • Phil Hughes's avatar
      Enables GraphQL batch requests · 11f85ae8
      Phil Hughes authored
      Enabling GraphQL batch requests allows for multiple queries
      to be sent in 1 request reducing the amount of requests
      we send to the server.
      
      Responses come come back in the same order as the queries were
      provided.
      11f85ae8
  8. May 10, 2019
    • Bob Van Landuyt's avatar
      Eager load the GraphQL schema in specs · 0b27841f
      Bob Van Landuyt authored
      Avoid counting on Rails eager loading the GraphQL types, but preload
      them before the specs.
      
      This would avoid loading the schema in 2 separate threads
      concurrently (1 inside the specs, 1 inside the test-server that will
      receive requests). Loading the schema in parallel like that could
      cause duplicate definition errors.
      0b27841f
  9. May 06, 2019
    • Ken Ding's avatar
      58404 - setup max depth for graphql · f80f68d5
      Ken Ding authored
      58404 - add change log
      
      
      58404 - add spec
      
      
      58404 - add more spec to test depth 2
      
      
      58404 - fix spec
      
      
      58404 - fix rubocop
      
      
      58404 - refactor the code by Bob's advice
      
      
      58404 - revert changes of all_graphql_fields_for
      
      
      58404 - change text only
      
      
      58404 - fix rspec according to gitlab's standard
      
      
      58404 - revert previous spec
      
      
      58404 - fix rubocop
      f80f68d5
  10. Apr 29, 2019
  11. Apr 11, 2019
  12. Apr 04, 2019
    • Brett Walker's avatar
      Initial field and query complexity limits · f458c561
      Brett Walker authored
      It makes all Types::BaseField default to a complexity of 1.
      
      Queries themselves now have limited complexity, scaled
      to the type of user: no user, authenticated user, or an
      admin user.
      f458c561
  13. Mar 13, 2019
  14. Mar 06, 2019
    • Bob Van Landuyt's avatar
      Adjust GraphQL helper to query empty fields · ee4ba6ce
      Bob Van Landuyt authored
      These adjustments make sure our GraphQL helpers support rendering
      queries for empty fields like this:
      
            {
              echo(text: "Hello world")
            }
      
      Instead of like this:
      
           {
             echo(text: "Hello world") {
             }
           }
      
      The latter would be an invalid query, causing parsing errors.
      ee4ba6ce
  15. Mar 05, 2019
  16. Feb 14, 2019
  17. Jan 24, 2019
  18. Dec 21, 2018
  19. Jul 25, 2018
  20. Jul 04, 2018
    • Bob Van Landuyt's avatar
      Add pipeline lists to GraphQL · 04b04658
      Bob Van Landuyt authored
      This adds Keyset pagination to GraphQL lists. PoC for that is
      pipelines on merge requests and projects.
      
      When paginating a list, the base-64 encoded id of the ordering
      field (in most cases the primary key) can be passed in the `before` or
      `after` GraphQL argument.
      04b04658
  21. Jun 15, 2018
    • Bob Van Landuyt's avatar
      Allow querying a single MR within a project · 9403b1d9
      Bob Van Landuyt authored
      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.
      9403b1d9
  22. Jun 06, 2018
  23. Jun 05, 2018
Loading