summaryrefslogtreecommitdiff
path: root/spec/requests/api/graphql/gitlab_schema_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@15-1-stable-eev15.1.0-rc42GitLab Bot2022-06-201-1/+1
|
* Add latest changes from gitlab-org/gitlab@14-8-stable-eev14.8.0-rc42GitLab Bot2022-02-181-2/+2
|
* Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42GitLab Bot2021-11-181-12/+11
|
* Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43GitLab Bot2021-04-201-8/+14
|
* Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot2020-10-211-1/+3
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-1/+1
|
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-201-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-111-5/+5
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-171-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-041-12/+33
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-021-0/+12
|
* Merge dev.gitlab.org@master into GitLab.com@masterYorick Peterse2019-10-301-7/+41
|\
| * Tweak test to insulate against magic number changescharlieablett2019-10-231-0/+1
| |
| * Check for recursion and fail if too recursivecharlieablett2019-10-231-7/+40
| | | | | | | | | | | | | | | | | | | | - List all overly-recursive fields - Reduce recursion threshold to 2 - Add test for not-recursive-enough query - Use reusable methods in tests - Add changelog - Set changeable acceptable recursion level - Add error check test helpers
* | Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-291-0/+2
|/
* Upgrade graphql gem to 1.9.10Brett Walker2019-09-041-1/+1
| | | | | | - `edge_nodes` needs to get called on the object - added `include GlobalID::Identification` in a couple places - renamed `object` to `item` in spec due to conflict
* Expose IDs in GraphQL as a GlobalIDBob Van Landuyt2019-06-031-1/+12
| | | | | | | | | | 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.
* Merge branch '59587-add-graphql-logging' into 'master'Sean McGivern2019-05-311-0/+25
|\ | | | | | | | | | | | | Add logging to GraphQL Closes #59587 See merge request gitlab-org/gitlab-ce!27885
| * Apply reviewer feedback59587-add-graphql-loggingcharlie ablett2019-05-311-12/+19
| | | | | | | | | | | | | | | | | | | | | | | | - Comply doc with guidelines - Improve tests for readability and completeness - Separate out phases visually with newlines - Add `format_message` test - test readability - code and test structure/styling - static query analyzers - call `as_json` on `provided_variables` - add exception handling
| * Call analyzers from LoggerAnalyzercharlieablett2019-05-301-4/+12
| | | | | | | | | | - Add changelog file - Fix failing tests
| * Restructure complexity analyzercharlieablett2019-05-301-1/+1
| | | | | | | | | | Remove instance variables for class re-use, test individual methods, use `monotonic_time`
| * New logfile for graphql queriescharlieablett2019-05-301-0/+10
| | | | | | | | | | Specify dedicated logfile and logger class for GraphQL queries. Move complexity analyzer to a dedicated class.
* | Added spec for authenticating multiplex queriesPhil Hughes2019-05-291-5/+24
|/
* Enables GraphQL batch requestsPhil Hughes2019-05-281-22/+63
| | | | | | | | | 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.
* 58404 - setup max depth for graphqlKen Ding2019-05-071-6/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Allow arrays to specify fields graphql_query_forbw-query_graphql_field-enhancementBrett Walker2019-04-111-1/+1
|
* Increase GraphQL complexityBrett Walker2019-04-081-3/+13
| | | | | An IntrospectionQuery required more complexity points.
* Initial field and query complexity limits58405-basic-limiting-complexity-of-graphql-queriesBrett Walker2019-04-041-0/+16
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.