Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate log errors when indexing shopify-api-ruby #138

Open
varungandhi-src opened this issue Oct 6, 2022 · 0 comments
Open

Investigate log errors when indexing shopify-api-ruby #138

varungandhi-src opened this issue Oct 6, 2022 · 0 comments

Comments

@varungandhi-src
Copy link
Contributor

It seems particularly silly to flag these "couldn't find field" errors when looking at definitions.

❯ ~/Code/scip-ruby/bazel-bin/main/scip-ruby --index-file index.scip --gem-metadata "shopify-api-ruby@$v11.1.0"
lib/shopify_api/rest/resources/2021_10/price_rule.rb:34: [scip-ruby] couldn't find field @prerequisite_saved_search_ids in class ::ShopifyAPI::PriceRule;
    34 |      @prerequisite_saved_search_ids = T.let(nil, T.nilable(T::Array[T.untyped]))
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Note:
    are you using a code pattern like def MyClass.method which is unsupported by Sorbet?

lib/shopify_api/rest/resources/2022_01/price_rule.rb:34: [scip-ruby] couldn't find field @prerequisite_saved_search_ids in class ::ShopifyAPI::PriceRule;
    34 |      @prerequisite_saved_search_ids = T.let(nil, T.nilable(T::Array[T.untyped]))
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Note:
    are you using a code pattern like def MyClass.method which is unsupported by Sorbet?

lib/shopify_api/rest/resources/2022_07/fulfillment_service.rb:27: [scip-ruby] couldn't find field @permits_sku_sharing in class ::ShopifyAPI::FulfillmentService;
    27 |      @permits_sku_sharing = T.let(nil, T.nilable(T::Boolean))
              ^^^^^^^^^^^^^^^^^^^^
  Note:
    are you using a code pattern like def MyClass.method which is unsupported by Sorbet?

lib/shopify_api/rest/resources/2022_01/carrier_service.rb:23: [scip-ruby] couldn't find field @format in class ::ShopifyAPI::CarrierService;
    23 |      @format = T.let(nil, T.nilable(String))
              ^^^^^^^
  Note:
    are you using a code pattern like def MyClass.method which is unsupported by Sorbet?

lib/shopify_api/rest/resources/2022_04/carrier_service.rb:23: [scip-ruby] couldn't find field @format in class ::ShopifyAPI::CarrierService;
    23 |      @format = T.let(nil, T.nilable(String))
              ^^^^^^^
  Note:
    are you using a code pattern like def MyClass.method which is unsupported by Sorbet?

lib/shopify_api/rest/resources/2021_10/carrier_service.rb:23: [scip-ruby] couldn't find field @format in class ::ShopifyAPI::CarrierService;
    23 |      @format = T.let(nil, T.nilable(String))
              ^^^^^^^
  Note:
    are you using a code pattern like def MyClass.method which is unsupported by Sorbet?
Errors: 6
@varungandhi-src varungandhi-src added the bug Something isn't working label Oct 6, 2022
@mmanela mmanela added the Migrated label May 6, 2024 — with Linear
@linear linear bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants