Wrong module with google-api-client
Solargraph resolves googleauth instead of google-api-client
#Gemfile
...
gem "google-api-client"
#test.rb
require 'google/apis/drive_v3'
Drive = Google::Apis::DriveV3::DriveService.new
Bundle install, yard doc, Rebuild all gem documentation and desperate attempts with .solargraph.yml are all resulting in the same issue
This is due to a size limit for imported yardocs. Coincidentally, google-api-client is the original reason that the limit exists.
The google-api-client yardoc is 150 MB. For comparison, the Ruby core and stdlib combined are 15 MB. Solargraph avoids loading any yardoc bigger than 20 MB because it kills performance.
I hope to find a better solution, but I don't have an ETA yet.
Thank you, that makes sense. Is there a way to partially load the yardoc for google-api-client, e.g. the Youtube_v3 portion only? Do you have any tips/suggestions on how to move forward?
Sorry, not yet. I've been exploring options, but don't have a solid answer.
I've also run into this issue