mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-29 21:46:14 +00:00
Use centerResolverDispatcher to normalize a person's center # Description of changes There is a normalizer for a person, which include a property "center": ```json { "type": "person", "id": 4362539, "text": "Diakite BAH", "firstName": "Diakite", "lastName": "BAH", "center": { "id": 475, "type": "center", "name": "Nord Vendée" }, "phonenumber": "", "mobilenumber": "", "altNames": [ ], "gender": "woman", "gender_numeric": 1, // ... } ``` Previously, the center was the center attached to the person in the database. But since September, version 2.0 allow to resolve the center dynamically, for instance with the usage of address. This resolution is done through `CenterResolverDispatcher`. This `CenterResolverDispatcher` is now used into person normalization. As a consequence, the center may now be: * null; * a center; * an array of center; Thoses case are taken into account into `PersonRenderBox` in Vue. # Issues related Any issue related. # Tests Any new tests. See merge request Chill-Projet/chill-bundles!205
Chill framework
Documentation of the Chill software.
The online documentation can be found at http://docs.chill.social
See the docs
directory for more.
Languages
PHP
77.3%
Twig
10.4%
Vue
7.4%
JavaScript
3.1%
TypeScript
1%
Other
0.8%