HoneyryderChuck / httpx

(Mirror) An HTTP client library for ruby
https://gitlab.com/os85/httpx
Apache License 2.0
187 stars 10 forks source link

Cannot generate RBI file for httpx gem #62

Open Aubermean opened 3 weeks ago

Aubermean commented 3 weeks ago

I've got an issue where Tapioca (a tool for type checking with Sorbet) is unable to generate an RBI file for this gem. I get an empty RBI file, which prevents type checking and IDE support for those using httpx... is there a quick and easy fix? Is this the issue? I have about 600 gems installed and no problems with the others. Thanks!

HoneyryderChuck commented 3 weeks ago

Hi @Aubermean ,

I'm not familiar with tapioca. httpx ships with RBS definitions, and I've heard of tools (don't know which) which translate RBS to something sorbet can parse. Is that an alternative? Otherwise, how can one reproduce this?