You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Despite some views to the contrary, types can add extra safety and stability to a project, at the expense of some extra typing/more verbose code.
Since Ruby is a dynamically typed language, if Pundit Matchers was to add type signatures to the project, this would need to be added as a seperate dependency. Some options include:
Despite some views to the contrary, types can add extra safety and stability to a project, at the expense of some extra typing/more verbose code.
Since Ruby is a dynamically typed language, if Pundit Matchers was to add type signatures to the project, this would need to be added as a seperate dependency. Some options include:
RBS
https://github.com/ruby/rbs
The official way of writing type signatures, a seperate gem but part of the Ruby project. Signatures are written in a seperate file and can be tested.
Sorbet
https://sorbet.org
Another type checker from Stripe that predates RBS. Type signatures are written in the same file, above the method definition.
Whatever option is chosen would go through GitHub Actions.
The text was updated successfully, but these errors were encountered: