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
I'm migrating my app from using great Drahak\Restful, because this library is sadly not maintained.
It was able to automatically map request to method parameters and obtain type and default value from it.
Hi. Unfortunately no, this relies on PSR-7 + middlewares, so you receive request object as parameter. You can drain whatever you need from ApiRequest, URL parameters, query parameters, headers, whatever.
I'm migrating my app from using great Drahak\Restful, because this library is sadly not maintained.
It was able to automatically map request to method parameters and obtain type and default value from it.
So instead of
Was possible to just provide type and default value by signature like that
Only additional attributes can be provided by annotation.
Why so the verbose approach was used by Apitte?
The text was updated successfully, but these errors were encountered: