mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-31 20:13:49 +00:00
ec6828f128fa0b6872717ed55b4ee511a4dfdf1f
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.8%
Twig
10.2%
Vue
7.2%
JavaScript
2.9%
TypeScript
1.1%
Other
0.8%