gitlab-org--gitlab-foss/spec
Jan Provaznik 5ee7884d91 GraphQL - Add extra complexity for resolvers
If a field is a resolver, its complexity is automatically
increased. By default we add extra points for sort and search
arguments (which will be common for various resolvers).

For specific resolvers we add field-specific complexity, e.g.
for Issues complexity is increased if we filter issues by `labelName`
(because then SQL query is more complex). We may want to tune these
values in future depending on real-life results.

Complexity is also dependent on the number of loaded nodes, but only
if we don't search by specific ID(s). Also added complexity is limited
(by default only twice more than child complexity) - the reason is
that although it's more complex to process more items, the complexity
increase is not linear (there is not so much difference between loading
10, 20 or 100 records from DB).
2019-05-06 21:24:19 +00:00
..
bin Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
config Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
controllers Implement support for CI variables of type file 2019-05-06 13:11:42 +00:00
db Change the schema of the common_metrics.yml 2019-04-17 20:02:24 +08:00
dependencies
factories Implement support for CI variables of type file 2019-05-06 13:11:42 +00:00
features Destroy repo mirrors instead of disabling them 2019-05-06 13:15:03 +00:00
finders Only show in autocomplete when author active 2019-04-12 14:58:42 +08:00
fixtures Implement support for CI variables of type file 2019-05-06 13:11:42 +00:00
frontend CE-backport track uninstall button clicks 2019-05-02 15:31:16 -04:00
graphql GraphQL - Add extra complexity for resolvers 2019-05-06 21:24:19 +00:00
helpers Add packages_size to ProjectStatistics 2019-05-02 16:04:15 +00:00
initializers Run rubocop -a on CE files 2019-05-05 03:24:28 -07:00
javascripts Merge branch '58105-pipeline-author-and-commit-author-too-close-together-in-pipeline-list' into 'master' 2019-05-06 11:16:28 +00:00
lib Fix issuables state_id nil when importing projects from GitHub 2019-05-06 19:45:17 +00:00
mailers Mark unverified pages domains for removal 2019-04-09 17:46:29 +00:00
migrations Fix issuables state_id nil when importing projects from GitHub 2019-05-06 19:45:17 +00:00
models Fix editing issues and MRs with NULL lock_version 2019-05-06 20:24:23 +00:00
policies Allow guests users to access project releases 2019-05-03 13:29:20 +00:00
presenters Show health graphs on group-level 2019-05-06 16:24:14 +00:00
rack_servers Better document the current states of our testing levels 2019-04-17 15:50:10 +02:00
requests Implement support for CI variables of type file 2019-05-06 13:11:42 +00:00
routing Remove the `comment_personal_snippet` permission 2019-05-02 11:13:42 +01:00
rubocop Add Rubocop rule to ban include ActionView::Context 2019-04-29 06:14:53 -07:00
serializers Fix merge request pipeline exist method 2019-05-06 13:20:47 +07:00
services Show health graphs on group-level 2019-05-06 16:24:14 +00:00
sidekiq/cron
support Merge branch 'ce-11194-fix-approvals-groups-all-available' into 'master' 2019-05-06 19:12:04 +00:00
tasks Replaced config access 2019-03-18 17:26:18 +00:00
uploaders Disable method replacement in avatar loading 2019-04-29 21:29:25 -07:00
validators Align UrlValidator to validate_url gem implementation. 2019-04-11 06:29:07 +00:00
views Merge branch '60476-actionview-missingtemplate-missing-template-projects-issues-_merge_requests-with-locale-en-formats-html-varian' into 'master' 2019-04-30 00:34:49 +00:00
workers Add gitlab-managed option to clusters form 2019-05-03 01:05:53 +00:00
factories_spec.rb
fast_spec_helper.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Show full Rspec backtrace only in CI 2019-05-03 14:49:45 +08:00