Restful
Restful copied to clipboard
Drahak\Restful - Nette REST API bundle
…caues nette\utils has bug Objevil jsem bug v nette\utils, Validators::isNumericInt, vraci true i presto ze je mu zaslano cislo vetsi nez je maximalni hodnota int. Teoreticky to bug neni, ale...
`Error: Drahak\Restful\Diagnostics\ResourceRouterPanel ErrorException: callback() is deprecated; use native PHP callback. in C:\Users\jspet\Sites\project\vendor\nette\deprecated\src\shortcuts.php:35 Stack trace: #0 [internal function]: Tracy\Bar->Tracy{closure}(16384, 'callback() is d...', 'C:\Users\jspet\...', 35, Array) #1 C:\Users\jspet\Sites\project\vendor\nette\deprecated\src\shortcuts.php(35): trigger_error('callback() is d...', 16384)...
@drahak can you please create tag so do not need to checkout repository when using composer?
I've been debugging the URL composing issues and noticed this. `RouteListFactory` scans all the classes loaded by RobotLoader under the 'presentersRoot' in order to find routes in annotations [at line...
Would it be possible to to add similar functionality as it's on Nette forms? It will be nice to have condition method, i.e. to validate 'from' and 'to' values, where...
ResponseFactory calls method hasData on resource instance, but interface IResource does not requires it.
Current version of Nette (2.3.0) has feature which cooperates with Composer. See: http://api.nette.org/2.3.0/source-Bridges.ApplicationDI.ApplicationExtension.php.html#131 However, command 'composer install --optimize-autoloader' causes adding an extra classes from Drahak/Restful to vendor/composer/autoload_classmap.php And during construction...
When i set uncommon HTTP code for the response (like 498), the error code is converted to 500 for some reason. Not sure if this is in Nette or Restful...
Is it somehow possible not to sending HTTP 204 No content header when an empty array is passed into `$this->resource`? I would like to have output like `[]` in JSON...
``` php $this->input->field("tickets") ->addRule(IValidator::REQUIRED); ``` ``` php "tickets" => [ 228 => 1, ] ``` And i get `422 Unprocessable Entity` which is pretty bad! When i remove this validation...