From 2cc098679fe5750f2930cc375e154b0a9a3eaf46 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 21:44:36 +0000 Subject: [PATCH 1/2] Bump the minor-and-patch group with 4 updates Bumps the minor-and-patch group with 4 updates: [graphql](https://github.com/rmosolgo/graphql-ruby), [sorbet-static](https://github.com/sorbet/sorbet), [rubydex](https://github.com/Shopify/rubydex) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet). Updates `graphql` from 2.6.3 to 2.6.5 - [Release notes](https://github.com/rmosolgo/graphql-ruby/releases) - [Changelog](https://github.com/rmosolgo/graphql-ruby/blob/master/CHANGELOG.md) - [Commits](https://github.com/rmosolgo/graphql-ruby/compare/v2.6.3...v2.6.5) Updates `sorbet-static` from 0.6.13321 to 0.6.13323 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `rubydex` from 0.2.6 to 0.2.7 - [Release notes](https://github.com/Shopify/rubydex/releases) - [Commits](https://github.com/Shopify/rubydex/compare/v0.2.6...v0.2.7) Updates `sorbet-static-and-runtime` from 0.6.13321 to 0.6.13323 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: graphql dependency-version: 2.6.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: sorbet-static dependency-version: 0.6.13323 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: rubydex dependency-version: 0.2.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: sorbet-static-and-runtime dependency-version: 0.6.13323 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 8446370b8..4b20c5d6e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -179,7 +179,7 @@ GEM google-protobuf (4.35.1-x86_64-linux-musl) bigdecimal rake (~> 13.3) - graphql (2.6.3) + graphql (2.6.5) base64 fiber-storage logger @@ -357,10 +357,10 @@ GEM ruby-lsp-rails (0.4.8) ruby-lsp (>= 0.26.0, < 0.27.0) ruby-progressbar (1.13.0) - rubydex (0.2.6-aarch64-linux) - rubydex (0.2.6-arm64-darwin) - rubydex (0.2.6-x86_64-darwin) - rubydex (0.2.6-x86_64-linux) + rubydex (0.2.7-aarch64-linux) + rubydex (0.2.7-arm64-darwin) + rubydex (0.2.7-x86_64-darwin) + rubydex (0.2.7-x86_64-linux) securerandom (0.4.1) shopify-money (4.1.1) bigdecimal (>= 3.0) @@ -371,15 +371,15 @@ GEM rack (>= 3.2.0) redis-client (>= 0.29.0) smart_properties (1.17.0) - sorbet (0.6.13321) - sorbet-static (= 0.6.13321) - sorbet-runtime (0.6.13321) - sorbet-static (0.6.13321-aarch64-linux) - sorbet-static (0.6.13321-universal-darwin) - sorbet-static (0.6.13321-x86_64-linux) - sorbet-static-and-runtime (0.6.13321) - sorbet (= 0.6.13321) - sorbet-runtime (= 0.6.13321) + sorbet (0.6.13323) + sorbet-static (= 0.6.13323) + sorbet-runtime (0.6.13323) + sorbet-static (0.6.13323-aarch64-linux) + sorbet-static (0.6.13323-universal-darwin) + sorbet-static (0.6.13323-x86_64-linux) + sorbet-static-and-runtime (0.6.13323) + sorbet (= 0.6.13323) + sorbet-runtime (= 0.6.13323) spoom (1.7.16) erubi (>= 1.10.0) prism (>= 0.28.0) @@ -528,7 +528,7 @@ CHECKSUMS google-protobuf (4.35.1-x86_64-darwin) sha256=66b62b4df00931018a692806df66393efa960d6d2b7da69735187249f950d3ee google-protobuf (4.35.1-x86_64-linux-gnu) sha256=c786439087512a3fbd199e9897d265b855f951d4027e218ea55e858d45969edd google-protobuf (4.35.1-x86_64-linux-musl) sha256=91890eb0002934a339fdb7d77a147c46b7474b6799db27872b747b905837f744 - graphql (2.6.3) sha256=31fe845b509fda27db38d09380f27ffc0de1c7ea2f9f3b12fa42bdde8317239b + graphql (2.6.5) sha256=1051825bfb4aedb4293cdbcd9726c3150e69e3512556609a32c2ca19d4be3d00 hashdiff (1.2.1) sha256=9c079dbc513dfc8833ab59c0c2d8f230fa28499cc5efb4b8dd276cf931457cd1 i18n (1.14.8) sha256=285778639134865c5e0f6269e0b818256017e8cde89993fdfcbfb64d088824a5 identity_cache (1.6.4) sha256=3f043ff06577765ef532656b1af1058f9a983edcf525ba4f5fa79f0bd6324f26 @@ -599,20 +599,20 @@ CHECKSUMS ruby-lsp (0.26.9) sha256=33a01c001c00a76b4e821efc04ed7572983430f31ca5d6f3e343d0b6ccab4129 ruby-lsp-rails (0.4.8) sha256=f09d1f926d4063deeb2f3049311925c20dfe6c912371e3bcd04a265a865c44ae ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33 - rubydex (0.2.6-aarch64-linux) sha256=431447309420ef75ac310ef45d11eed1652ff53e8d7b82cef003bf6309141ddf - rubydex (0.2.6-arm64-darwin) sha256=ffc5bc493e17114228b88cf19fa828647fe1113d7ef690fa3a285e097c7c4fa6 - rubydex (0.2.6-x86_64-darwin) sha256=7533d6d8b9e40ee6fce78d6a94b134b98a00cb1a57a43c1317831966e86905c4 - rubydex (0.2.6-x86_64-linux) sha256=992d3513686bb1dd913da55267a14be334ea9fb2bc181b70a97b793700382c47 + rubydex (0.2.7-aarch64-linux) sha256=9a016039f7e94e55cd812e073d310de7effcce4cac560edd1185e1ce6b5b4eb0 + rubydex (0.2.7-arm64-darwin) sha256=f0d28bbf4153568be79b671642424750053e0bea971b60ddf5cec19bf4563990 + rubydex (0.2.7-x86_64-darwin) sha256=b002b259d118ac69de44470eff1597143318402c45630c47371f9542631447dc + rubydex (0.2.7-x86_64-linux) sha256=dacfade9fa42ce4469618da6dac07e69d5f3ac6a313b4caced5234c8f052419a securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1 shopify-money (4.1.1) sha256=523078e44bfde1920f8b3487ddf9144e0fb6af8cdf67e212bed02025c5c5f423 sidekiq (8.1.6) sha256=be20cd051124b1a16cf97ea9157137abbd30a515c16a5ae9312d2eadd045e40f smart_properties (1.17.0) sha256=f9323f8122e932341756ddec8e0ac9ec6e238408a7661508be99439ca6d6384b - sorbet (0.6.13321) sha256=56f3a9c59715f079e1dc5d7876bb72f490114474866991c5ee35350f70cdfd10 - sorbet-runtime (0.6.13321) sha256=55ca445d39703284c2f14175a13a3ff085d247f4f16028076fbb7a83c715f7cc - sorbet-static (0.6.13321-aarch64-linux) sha256=078ab936f779dfd8f34b288aa2cfd82101868bb9d75365fc2ae0eb731b10fbc0 - sorbet-static (0.6.13321-universal-darwin) sha256=52ba97a5d3eaa7c6eaf2fb15de058ed9ce50b6bb4ab89c5f43df4cac67447b74 - sorbet-static (0.6.13321-x86_64-linux) sha256=71132c8c6697c4ed0361299d3fe5422859fb8fda5b312c7ec6d2219ff262953e - sorbet-static-and-runtime (0.6.13321) sha256=c85d71cdcf1972d9c2af7e18d28bc92193a5d6e991d2a52db24717df2983030e + sorbet (0.6.13323) sha256=78b2d4b17fe171b2facd636033ce6e0be8544aa776b7713216209ba015d911d3 + sorbet-runtime (0.6.13323) sha256=cf9c4e6793e1a9ef69bd96e3a006e0fd1fead429f4e4370163460bf569a23518 + sorbet-static (0.6.13323-aarch64-linux) sha256=33d428073b491970b1b2528d6a89c4f104fdaf7f8752c6489f120040faafc5c4 + sorbet-static (0.6.13323-universal-darwin) sha256=35ea7cca7011adea28fd7aa18002aff7f242365d829ca31219ad5e723fe28270 + sorbet-static (0.6.13323-x86_64-linux) sha256=8ce81180e0e91394a87bf39722ff797f90315d71e29559f015716b3512347373 + sorbet-static-and-runtime (0.6.13323) sha256=04b636933a28c8adedc81ad469f25d3a59b8a3eceaeef9accd6a92e2066d461d spoom (1.7.16) sha256=b6033d1aaede800ef37505474d260d57a02fa63364b4725ea40b6f606e932d59 sprockets (4.2.2) sha256=761e5a49f1c288704763f73139763564c845a8f856d52fba013458f8af1b59b1 sqlite3 (2.9.0-aarch64-linux-gnu) sha256=cfe1e0216f46d7483839719bf827129151e6c680317b99d7b8fc1597a3e13473 From 078bdf0ec94767fa997fcb63197b832d828821e8 Mon Sep 17 00:00:00 2001 From: Kaan Ozkan Date: Tue, 7 Jul 2026 11:09:31 -0400 Subject: [PATCH 2/2] bin/tapioca gem Assisted-By: devx/eb25d669-b4ee-4e28-9b69-129b45e1e178 --- .../{graphql@2.6.3.rbi => graphql@2.6.5.rbi} | 252 +++++++++++++----- .../{rubydex@0.2.6.rbi => rubydex@0.2.7.rbi} | 30 ++- 2 files changed, 199 insertions(+), 83 deletions(-) rename sorbet/rbi/gems/{graphql@2.6.3.rbi => graphql@2.6.5.rbi} (99%) rename sorbet/rbi/gems/{rubydex@0.2.6.rbi => rubydex@0.2.7.rbi} (97%) diff --git a/sorbet/rbi/gems/graphql@2.6.3.rbi b/sorbet/rbi/gems/graphql@2.6.5.rbi similarity index 99% rename from sorbet/rbi/gems/graphql@2.6.3.rbi rename to sorbet/rbi/gems/graphql@2.6.5.rbi index 72548acac..b4c43c207 100644 --- a/sorbet/rbi/gems/graphql@2.6.3.rbi +++ b/sorbet/rbi/gems/graphql@2.6.5.rbi @@ -1002,21 +1002,118 @@ class GraphQL::Dataloader::ActiveRecordSource < ::GraphQL::Dataloader::Source def result_key_for(requested_key); end end -# pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:4 +# pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:5 class GraphQL::Dataloader::AsyncDataloader < ::GraphQL::Dataloader # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:17 + def initialize(*_arg0, **_arg1, &_arg2); end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:149 + def active_run; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:140 + def append_job(callable = T.unsafe(nil), &block); end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:22 + def create_pending_run; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:145 + def lazy_at_depth(depth, lazy); end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:187 def run(trace_query_lazy: T.unsafe(nil)); end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:5 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:153 + def run_isolated; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:27 def yield(source = T.unsafe(nil)); end private - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:70 - def run_pending_steps(job_fibers, next_job_fibers, source_tasks, jobs_fiber_limit, trace); end + # TODO DRY Had to duplicate to remove spawn_job_fiber + # + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:295 + def run_next_pending_lazies(run); end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:235 + def run_pending_steps(run); end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:275 + def run_sources(run); end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:253 + def spawn_job_task(run); end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:321 + def spawn_source_task(run, num_tasks); end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:83 - def spawn_source_task(parent_task, condition, trace); end + class << self + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:6 + def use(*_arg0, **_arg1, &_arg2); end + end +end + +# pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:40 +class GraphQL::Dataloader::AsyncDataloader::Run + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:41 + def initialize(total_fiber_limit, jobs_fiber_limit); end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:69 + def allowed_sources_tasks; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:78 + def close_queues; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:63 + def finished_tasks; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:63 + def jobs; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:65 + def jobs_bandwidth?; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:63 + def jobs_fiber_limit; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:63 + def lazies_at_depth; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:103 + def new_queues; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:61 + def root_task; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:61 + def root_task=(_arg0); end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:135 + def running?; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:86 + def running_count; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:63 + def snoozed_jobs_condition; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:63 + def snoozed_sources_condition; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:63 + def started_tasks; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:63 + def total_fiber_limit; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:61 + def trace; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:61 + def trace=(_arg0); end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:94 + def wait_for_queues; end end # GraphQL-Ruby uses this when Dataloader isn't enabled. @@ -1089,7 +1186,7 @@ class GraphQL::Dataloader::Source # Clear any already-loaded objects for this source # @return [void] # - # pkg:gem/graphql#lib/graphql/dataloader/source.rb:179 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:187 def clear_cache; end # pkg:gem/graphql#lib/graphql/dataloader/source.rb:18 @@ -1099,7 +1196,7 @@ class GraphQL::Dataloader::Source # @param keys [Array] keys passed to {#load}, {#load_all}, {#request}, or {#request_all} # @return [Array] A loaded value for each of `keys`. The array must match one-for-one to the list of `keys`. # - # pkg:gem/graphql#lib/graphql/dataloader/source.rb:98 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:99 def fetch(keys); end # @param value [Object] A loading value which will be passed to {#fetch} if it isn't already in the internal cache. @@ -1119,7 +1216,7 @@ class GraphQL::Dataloader::Source # @param new_results [Hash Object>] key-value pairs to cache in this source # @return [void] # - # pkg:gem/graphql#lib/graphql/dataloader/source.rb:129 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:130 def merge(new_results); end # Implement this method if varying values given to {load} (etc) should be consolidated @@ -1134,12 +1231,12 @@ class GraphQL::Dataloader::Source # pkg:gem/graphql#lib/graphql/dataloader/source.rb:46 def normalize_fetch_key(value); end - # pkg:gem/graphql#lib/graphql/dataloader/source.rb:184 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:192 def pending; end # @return [Boolean] True if this source has any pending requests for data. # - # pkg:gem/graphql#lib/graphql/dataloader/source.rb:121 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:122 def pending?; end # @return [Dataloader::Request] a pending request for a value from `key`. Call `.load` on that object to wait for the result. @@ -1161,14 +1258,14 @@ class GraphQL::Dataloader::Source # pkg:gem/graphql#lib/graphql/dataloader/source.rb:34 def result_key_for(value); end - # pkg:gem/graphql#lib/graphql/dataloader/source.rb:184 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:192 def results; end # Called by {GraphQL::Dataloader} to resolve and pending requests to this source. # @api private # @return [void] # - # pkg:gem/graphql#lib/graphql/dataloader/source.rb:140 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:141 def run_pending_keys; end # Called by {Dataloader} to prepare the {Source}'s internal state @@ -1181,7 +1278,7 @@ class GraphQL::Dataloader::Source # Then run the batch and update the cache. # @return [void] # - # pkg:gem/graphql#lib/graphql/dataloader/source.rb:107 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:108 def sync(pending_result_keys); end private @@ -1191,7 +1288,7 @@ class GraphQL::Dataloader::Source # @return [Object] The result from {#fetch} for `key`. # @api private # - # pkg:gem/graphql#lib/graphql/dataloader/source.rb:192 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:200 def result_for(key); end class << self @@ -1210,12 +1307,12 @@ class GraphQL::Dataloader::Source # @param batch_kwargs [Hash] # @return [Object] # - # pkg:gem/graphql#lib/graphql/dataloader/source.rb:173 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:177 def batch_key_for(*batch_args, **batch_kwargs); end end end -# pkg:gem/graphql#lib/graphql/dataloader/source.rb:103 +# pkg:gem/graphql#lib/graphql/dataloader/source.rb:104 GraphQL::Dataloader::Source::MAX_ITERATIONS = T.let(T.unsafe(nil), Integer) # This error is raised when `Types::ISO8601Date` is asked to return a value @@ -1332,13 +1429,13 @@ class GraphQL::Execution::FieldResolveStep # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:5 def initialize(parent_type:, runner:, key:, selections_step:); end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:105 - def add_graphql_error(err); end + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:108 + def add_graphql_error(result, key, err, return_type: T.unsafe(nil)); end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:559 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:608 def add_non_null_error(is_from_array); end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:343 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:386 def any_lazy_results?; end # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:40 @@ -1352,7 +1449,7 @@ class GraphQL::Execution::FieldResolveStep # Used for compatibility in Schema::Subscription # - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:146 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:189 def arguments_without_loads; end # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:27 @@ -1361,28 +1458,28 @@ class GraphQL::Execution::FieldResolveStep # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:36 def ast_nodes; end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:552 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:601 def authorized_finished(step); end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:126 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:169 def build_arguments; end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:114 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:157 def build_errors_result(errors, single_error); end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:467 - def build_leaf_result(field_result, return_type, ctx, is_from_array); end + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:510 + def build_leaf_result(result_h, result_key, field_result, return_type, ctx, is_from_array); end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:408 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:451 def build_results; end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:81 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:82 def call; end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:493 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:540 def enqueue_next_steps; end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:153 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:196 def execute_field; end # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:27 @@ -1391,10 +1488,10 @@ class GraphQL::Execution::FieldResolveStep # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:27 def field_results; end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:365 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:408 def finish_extensions; end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:460 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:503 def finish_leaf_result(result_h, key, field_result, return_type, ctx); end # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:27 @@ -1415,13 +1512,16 @@ class GraphQL::Execution::FieldResolveStep # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:30 def pending_steps=(_arg0); end + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:128 + def propagate_nulls; end + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:27 def runner; end # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:27 def selections_step; end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:564 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:617 def set_current_field(new_value = T.unsafe(nil)); end # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:30 @@ -1430,7 +1530,7 @@ class GraphQL::Execution::FieldResolveStep # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:30 def static_type=(_arg0); end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:63 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:64 def sync(lazy); end # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:51 @@ -1441,13 +1541,13 @@ class GraphQL::Execution::FieldResolveStep private - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:570 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:623 def build_graphql_result(graphql_result, key, field_result, return_type, is_nn, is_list, is_from_array); end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:739 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:792 def error_instance_array(size, err_prototype); end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:633 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:686 def resolve_batch(objects, context, args_hash); end end @@ -1456,21 +1556,21 @@ class GraphQL::Execution::Finalize # pkg:gem/graphql#lib/graphql/execution/finalize.rb:5 def initialize(query, data, runner); end - # pkg:gem/graphql#lib/graphql/execution/finalize.rb:54 + # pkg:gem/graphql#lib/graphql/execution/finalize.rb:55 def run; end private - # pkg:gem/graphql#lib/graphql/execution/finalize.rb:172 + # pkg:gem/graphql#lib/graphql/execution/finalize.rb:173 def check_list_result(result_arr, inner_type, ast_selections); end - # pkg:gem/graphql#lib/graphql/execution/finalize.rb:96 + # pkg:gem/graphql#lib/graphql/execution/finalize.rb:97 def check_object_result(result_h, parent_type, ast_selections); end - # pkg:gem/graphql#lib/graphql/execution/finalize.rb:91 + # pkg:gem/graphql#lib/graphql/execution/finalize.rb:92 def finalizers(result_value, key); end - # pkg:gem/graphql#lib/graphql/execution/finalize.rb:76 + # pkg:gem/graphql#lib/graphql/execution/finalize.rb:77 def run_finalizers(result_path, finalizer_or_finalizers, result_data, result_key); end end @@ -1749,13 +1849,13 @@ class GraphQL::Execution::Interpreter::Runtime # @param trace [Boolean] If `false`, don't wrap this with field tracing # @return [GraphQL::Execution::Lazy, Object] If loading `object` will be deferred, it's a wrapper over it. # - # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:913 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:907 def after_lazy(lazy_obj, field:, owner_object:, arguments:, ast_node:, result:, result_name:, runtime_state:, eager: T.unsafe(nil), trace: T.unsafe(nil), &block); end - # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:967 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:961 def arguments(graphql_object, arg_owner, ast_node); end - # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:821 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:815 def call_method_on_directives(method_name, object, directives, &block); end # @return [GraphQL::Query::Context] @@ -1772,21 +1872,21 @@ class GraphQL::Execution::Interpreter::Runtime # # @return [Lazy, Array, Hash, Object] Lazy, Array, and Hash are all traversed to resolve lazy values later # - # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:665 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:659 def continue_field(value, owner_type, field, current_type, ast_node, next_selections, is_non_null, owner_object, arguments, result_name, selection_result, was_scoped, runtime_state); end - # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:558 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:552 def continue_value(value, field, is_non_null, ast_node, result_name, selection_result); end - # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:546 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:540 def current_path; end - # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:976 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:970 def delete_all_interpreter_context; end # Check {Schema::Directive.include?} for each directive that's present # - # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:860 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:854 def directives_include?(node, graphql_object, parent_type, selection_result, extra_path_part); end # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:199 @@ -1814,16 +1914,16 @@ class GraphQL::Execution::Interpreter::Runtime # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:212 def gather_selections(graphql_response, owner_object, owner_type, selections, selections_to_run, selections_by_name, ordered_result_keys); end - # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:891 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:885 def get_current_runtime_state; end # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:62 def inspect; end - # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:1008 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:1002 def lazy?(object); end - # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:896 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:890 def minimal_after_lazy(value, &block); end # @return [GraphQL::Query] @@ -1831,13 +1931,13 @@ class GraphQL::Execution::Interpreter::Runtime # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:30 def query; end - # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:806 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:800 def resolve_list_item(inner_value, inner_type, inner_type_non_null, ast_node, field, owner_object, arguments, this_idx, response_list, owner_type, was_scoped, runtime_state); end - # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:987 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:981 def resolve_type(type, value); end - # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:826 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:820 def run_directive(method_name, object, directives, idx, &block); end # @return [void] @@ -1853,10 +1953,10 @@ class GraphQL::Execution::Interpreter::Runtime # Mark this node and any already-registered children as dead, # so that it accepts no more writes. # - # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:533 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:527 def set_graphql_dead(selection_result); end - # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:503 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:497 def set_result(selection_result, result_name, value, is_child_result, is_non_null); end end @@ -2040,7 +2140,7 @@ class GraphQL::Execution::Interpreter::Runtime::GraphQLResultHash def values; end end -# pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:557 +# pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:551 GraphQL::Execution::Interpreter::Runtime::HALT = T.let(T.unsafe(nil), Object) # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:288 @@ -2472,12 +2572,15 @@ class GraphQL::Execution::PrepareObjectStep def initialize(object:, runner:, graphql_result:, key:, is_non_null:, field_resolve_step:, next_objects:, next_results:, is_from_array:); end # pkg:gem/graphql#lib/graphql/execution/prepare_object_step.rb:76 + def add_field_error(err); end + + # pkg:gem/graphql#lib/graphql/execution/prepare_object_step.rb:80 def authorize; end # pkg:gem/graphql#lib/graphql/execution/prepare_object_step.rb:44 def call; end - # pkg:gem/graphql#lib/graphql/execution/prepare_object_step.rb:109 + # pkg:gem/graphql#lib/graphql/execution/prepare_object_step.rb:113 def create_result; end # pkg:gem/graphql#lib/graphql/execution/prepare_object_step.rb:21 @@ -2567,34 +2670,43 @@ class GraphQL::Execution::Runner # pkg:gem/graphql#lib/graphql/execution/runner.rb:228 def begin_execute(isolated_steps, results, query, root_type, root_value); end - # pkg:gem/graphql#lib/graphql/execution/runner.rb:390 + # pkg:gem/graphql#lib/graphql/execution/runner.rb:395 def directives_include?(query, ast_selection); end - # pkg:gem/graphql#lib/graphql/execution/runner.rb:411 + # pkg:gem/graphql#lib/graphql/execution/runner.rb:416 def run_isolated_scalar(type, partial); end end # pkg:gem/graphql#lib/graphql/execution/selections_step.rb:4 class GraphQL::Execution::SelectionsStep # pkg:gem/graphql#lib/graphql/execution/selections_step.rb:5 - def initialize(parent_type:, selections:, objects:, results:, runner:, query:, path:, clobber: T.unsafe(nil)); end + def initialize(parent_type:, field_resolve_step:, selections:, objects:, results:, runner:, query:, path:, clobber: T.unsafe(nil)); end - # pkg:gem/graphql#lib/graphql/execution/selections_step.rb:26 + # pkg:gem/graphql#lib/graphql/execution/selections_step.rb:30 def call; end # pkg:gem/graphql#lib/graphql/execution/selections_step.rb:20 + def field_resolve_step; end + + # pkg:gem/graphql#lib/graphql/execution/selections_step.rb:24 def graphql_objects; end - # pkg:gem/graphql#lib/graphql/execution/selections_step.rb:18 + # pkg:gem/graphql#lib/graphql/execution/selections_step.rb:22 + def killed; end + + # pkg:gem/graphql#lib/graphql/execution/selections_step.rb:22 + def killed=(_arg0); end + + # pkg:gem/graphql#lib/graphql/execution/selections_step.rb:20 def objects; end - # pkg:gem/graphql#lib/graphql/execution/selections_step.rb:18 + # pkg:gem/graphql#lib/graphql/execution/selections_step.rb:20 def path; end - # pkg:gem/graphql#lib/graphql/execution/selections_step.rb:18 + # pkg:gem/graphql#lib/graphql/execution/selections_step.rb:20 def query; end - # pkg:gem/graphql#lib/graphql/execution/selections_step.rb:18 + # pkg:gem/graphql#lib/graphql/execution/selections_step.rb:20 def results; end end @@ -2669,7 +2781,7 @@ class GraphQL::ExecutionError < ::GraphQL::RuntimeError # @return [Hash] An entry for the response's "errors" key # - # pkg:gem/graphql#lib/graphql/execution_error.rb:38 + # pkg:gem/graphql#lib/graphql/execution_error.rb:42 def to_h; end end diff --git a/sorbet/rbi/gems/rubydex@0.2.6.rbi b/sorbet/rbi/gems/rubydex@0.2.7.rbi similarity index 97% rename from sorbet/rbi/gems/rubydex@0.2.6.rbi rename to sorbet/rbi/gems/rubydex@0.2.7.rbi index 16f121fcc..2c603df2c 100644 --- a/sorbet/rbi/gems/rubydex@0.2.6.rbi +++ b/sorbet/rbi/gems/rubydex@0.2.7.rbi @@ -69,6 +69,11 @@ class Rubydex::Comment def string; end end +# Raised by `Graph#load_config` when the requested config file does not exist, cannot be read, or is malformed +# +# pkg:gem/rubydex#lib/rubydex/errors.rb:10 +class Rubydex::ConfigError < ::Rubydex::Error; end + # pkg:gem/rubydex#lib/rubydex.rb:11 class Rubydex::Constant < ::Rubydex::Declaration include ::Rubydex::Visibility @@ -316,7 +321,7 @@ class Rubydex::GlobalVariableDefinition < ::Rubydex::Definition; end # # pkg:gem/rubydex#lib/rubydex.rb:11 class Rubydex::Graph - # pkg:gem/rubydex#lib/rubydex/graph.rb:26 + # pkg:gem/rubydex#lib/rubydex/graph.rb:11 sig { params(workspace_path: T.nilable(String)).void } def initialize(workspace_path: T.unsafe(nil)); end @@ -388,15 +393,18 @@ class Rubydex::Graph sig { params(uri: String, source: String, language_id: String).void } def index_source(uri, source, language_id); end - # Index all files and dependencies of the workspace that exists in `@workspace_path` + # Index all files and dependencies of the workspace that exists in `workspace_path` # - # pkg:gem/rubydex#lib/rubydex/graph.rb:34 + # pkg:gem/rubydex#lib/rubydex/graph.rb:17 sig { returns(T::Array[String]) } def index_workspace; end # pkg:gem/rubydex#lib/rubydex.rb:11 def keyword(_arg0); end + # pkg:gem/rubydex#lib/rubydex.rb:11 + def load_config(*_arg0); end + # pkg:gem/rubydex#lib/rubydex.rb:11 sig { returns(T::Enumerable[Rubydex::MethodReference]) } def method_references; end @@ -421,18 +429,17 @@ class Rubydex::Graph sig { params(query: String).returns(T::Enumerable[Rubydex::Declaration]) } def search(query); end - # pkg:gem/rubydex#lib/rubydex/graph.rb:23 + # pkg:gem/rubydex#lib/rubydex.rb:11 sig { returns(String) } def workspace_path; end - # pkg:gem/rubydex#lib/rubydex/graph.rb:23 + # pkg:gem/rubydex#lib/rubydex.rb:11 sig { params(workspace_path: String).returns(String) } def workspace_path=(workspace_path); end - # Returns all workspace paths that should be indexed, excluding directories that we don't need to descend into such - # as `.git`, `node_modules`. Also includes any top level Ruby files + # Returns all workspace paths that should be indexed # - # pkg:gem/rubydex#lib/rubydex/graph.rb:42 + # pkg:gem/rubydex#lib/rubydex/graph.rb:24 sig { returns(T::Array[String]) } def workspace_paths; end @@ -442,21 +449,18 @@ class Rubydex::Graph # to the list of paths. This method does not require `rbs` to be a part of the bundle. It searches for whatever # latest installation of `rbs` exists in the system and fails silently if we can't find one # - # pkg:gem/rubydex#lib/rubydex/graph.rb:89 + # pkg:gem/rubydex#lib/rubydex/graph.rb:70 sig { params(paths: T::Array[String]).void } def add_core_rbs_definition_paths(paths); end # Gathers the paths we have to index for all workspace dependencies # - # pkg:gem/rubydex#lib/rubydex/graph.rb:65 + # pkg:gem/rubydex#lib/rubydex/graph.rb:46 sig { params(paths: T::Array[String]).void } def add_workspace_dependency_paths(paths); end end # pkg:gem/rubydex#lib/rubydex/graph.rb:8 -Rubydex::Graph::IGNORED_DIRECTORIES = T.let(T.unsafe(nil), Array) - -# pkg:gem/rubydex#lib/rubydex/graph.rb:20 Rubydex::Graph::INDEXABLE_EXTENSIONS = T.let(T.unsafe(nil), Array) # Represents `include SomeModule`