Michał Turek

Results 19 issues of Michał Turek

This patch makes redirect variable name configurable via: ```php $action->setConfig('redirectVar', 'new_value'); ``` Default value of 'redirect_url' for backward compatibility

Are there any plans for CakePHP 5.x compatibility?

Fixes #108 `\Muffin\Webservice\Datasource\Marshaller` now correctly calls `TypeInterface::marshal()` on every mapped type. (code is mostly copied from original CakePHP marshaller) `\Muffin\Webservice\Webservice::_transformResource()` now calls `$endpoint->newEntity($result);` to trigger field mapping logic `Model.afterMarshal` event...

enhancement

The `\Muffin\Webservice\Datasource\Marshaller` currently ignores the existence of `/src/Model/Endpoint/Schema/****Schema` classes, does not build a property map, and never calls `TypeInterface::marshal()` Additionally `\Muffin\Webservice\Webservice\Webservice::_transformResource()` never calls `TypeInterface::toPHP()` Tested on version [3.0.0](https://github.com/UseMuffin/Webservice/tree/3.0.0)

Support for non-table model types

What i did: ```php $data = [ 'quantity' => Quantity::from(5) ]; debug(json_encode($data)); ``` Expected result: ```json { "quantity": 5 } ``` Actual result: ```json { "quantity": {} } ```

This plugin is blocking me from using Bootstrap v5 on cake4 (bootstrap-ui branch [4.x](https://github.com/FriendsOfCake/bootstrap-ui/wiki#version-map) not supported)

I created simple app with 2 tables: `Users` and `UserRoles` `UserRoles` table has 3 collumns: `id` (int), `user_id` (int) and `role` (custom EnumType) In my AppView.php i have added: ```php...

bug