Skip to content
Snippets Groups Projects
  1. Mar 16, 2020
  2. Mar 13, 2020
  3. Mar 12, 2020
  4. Mar 06, 2020
  5. Mar 03, 2020
  6. Feb 27, 2020
  7. Feb 12, 2020
  8. Feb 10, 2020
  9. Feb 06, 2020
  10. Feb 04, 2020
  11. Jan 20, 2020
  12. Jan 08, 2020
  13. Nov 29, 2019
  14. Nov 27, 2019
  15. Nov 18, 2019
  16. Nov 14, 2019
  17. Nov 01, 2019
  18. Oct 29, 2019
  19. Oct 23, 2019
  20. Oct 16, 2019
  21. Sep 18, 2019
  22. Sep 06, 2019
  23. Jul 11, 2019
  24. Jul 04, 2019
    • Marcel Amirault's avatar
      Small markdown tweaks to clear kramdown warnings · e108f0d9
      Marcel Amirault authored and Evan Read's avatar Evan Read committed
      Fixing square brackets, links, etc in:
        merge_requests.md
        vulnerabilities.md
        issues.md
        issues_statistics.md
        pipelines.md
        services.md
        group_milestones.md
        milestones.md
        runners.md
        changelog.md
        issue_workflow.md
        elasticsearch.md
        api_graphql_styleguide.md
        automatic_ce_ee_merge.md
        file_storage.md
        architecture.md
        database_debugging.md
        index.md
        index.md
        frontend_testing.md
        pry_debugging.md
        vue.md
        development_process.md
      e108f0d9
  25. Jun 25, 2019
  26. Jun 18, 2019
  27. Jun 03, 2019
    • Bob Van Landuyt's avatar
      Expose IDs in GraphQL as a GlobalID · ed503d51
      Bob Van Landuyt authored
      This exposes all fields named `id` as GlobalIDs so they can be used
      across our entire GraphQL implementation.
      
      When the objects loaded are `ApplicationRecord`s. We'll use our
      existing batchloading to find them. Otherwise, we'll fall back to the
      default implementation of `GlobalID`: Calling the `.find` method on
      the class.
      ed503d51
  28. Apr 03, 2019
  29. Feb 25, 2019
    • Luke Duncalfe's avatar
      Improve GraphQL Authorization DSL · ccb4edbc
      Luke Duncalfe authored
      Previously GraphQL field authorization happened like this:
      
          class ProjectType
            field :my_field, MyFieldType do
              authorize :permission
            end
          end
      
      This change allowed us to authorize like this instead:
      
          class ProjectType
            field :my_field, MyFieldType, authorize: :permission
          end
      
      A new initializer registers the `authorize` metadata keyword on GraphQL
      Schema Objects and Fields, and we can collect this data within the
      context of Instrumentation like this:
      
          field.metadata[:authorize]
      
      The previous functionality of authorize is still being used for
      mutations, as the #authorize method here is called at during the code
      that executes during the mutation, rather than when a field resolves.
      
      https://gitlab.com/gitlab-org/gitlab-ce/issues/57828
      ccb4edbc
  30. Nov 01, 2018
  31. Jul 25, 2018
  32. 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
  33. Jun 28, 2018
  34. Jun 06, 2018
  35. Jun 05, 2018
    • Bob Van Landuyt's avatar
      Add `present_using` to types · aa4b1ae7
      Bob Van Landuyt authored
      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`).
      aa4b1ae7
Loading