solargraph-rails
solargraph-rails copied to clipboard
Permit newer Solargraph versions
This just updates the Solargraph dependency in the gemspec to 0.45 with the ability to update to 0.46, etc. I haven't done an extensive test but it seems to be working fine in my project.
Hmm, just saw this issue with loading find on an association:
Message: [Solargraph::ComplexTypeError] Unclosed subtype in ActiveRecord::Associations::CollectionProxy
Not sure if that's due to the version bump or just some other thing.
@jaredcwhite that sounds like https://github.com/castwide/solargraph/issues/589, which has been fixed but I don't think it's in a release yet
The fix seems to have been released in 0.47.0. #47 is a duplicate of this. I wanted to try this gem and was confused when some of the features were not working as advertised, but it installed the old version 0.3.1 because of the version of solargraph I already have in my lockfile.
#43 also increments the solargraph version, but still includes a patch number. I guess solargraph doesn't provide a stable api to hook into, and this is required so it doesn't break all the time?
@jaredcwhite please do a pull from master so that CI runs properly
Might be good to close this now that https://github.com/iftheshoefritz/solargraph-rails/pull/49 has landed which essentially fixes this issue.