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
If the #on method were to yield as with self yield self rather than simply yield self it would switch the entire context to self rather than just yielding self to the block. This would allow for slightly more idomatic routing as you could then do
Onyx::HTTP.on "/api"do
get "/ping", Endpoints::API::Pingend
If the
#on
method were to yield aswith self yield self
rather than simplyyield self
it would switch the entire context to self rather than just yielding self to the block. This would allow for slightly more idomatic routing as you could then doInstead of
The text was updated successfully, but these errors were encountered: