AaronC81 / sord

Convert YARD docs to Sorbet RBI and Ruby 3/Steep RBS files
https://sord.aaronc.cc
MIT License
293 stars 18 forks source link

How to handle references to third party types? #147

Open thomthom opened 1 year ago

thomthom commented 1 year ago

I got a project that replies on a third party API. The types of the third party API is referenced all over in my YARD documentation.

At the moment I'm getting a lot of warnings emitted when I run sord due to these types.

Is there a way to make sord beware of the types of this third party API?

AaronC81 commented 1 year ago

155 has now been merged, which might make this possible if you're using RBS, since it will now load types from the gem collection.