Julien Fastré ec6828f128 Merge branch 'features/person-normalization-resolver-center-dynamically' into 'master'
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
2021-11-08 12:22:11 +00:00
2021-04-20 17:20:57 +02:00
2021-04-20 17:20:57 +02:00
2021-05-07 09:04:29 +02:00
2021-04-20 17:20:57 +02:00
2021-03-25 17:43:44 +01:00
2021-09-28 17:39:23 +02:00
2021-10-11 18:44:25 +00:00
2021-06-11 07:31:28 +00:00
2021-09-24 16:45:24 +02:00
2021-05-04 14:49:36 +02:00

Chill framework

Documentation of the Chill software.

The online documentation can be found at http://docs.chill.social

See the docs directory for more.

Description
Miroir de chill-bundles
Readme AGPL-3.0 59 MiB
Languages
PHP 77.3%
Twig 10.4%
Vue 7.4%
JavaScript 3.1%
TypeScript 1%
Other 0.8%