Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Probleme de mapping #32

Open
hdumazeau opened this issue Feb 2, 2021 · 0 comments
Open

Probleme de mapping #32

hdumazeau opened this issue Feb 2, 2021 · 0 comments

Comments

@hdumazeau
Copy link
Collaborator

hdumazeau commented Feb 2, 2021

Dans DataTransfertObjectParamConverter ligne 312, il faudrait mettre le mapping par défaut à id

        $config->setOptions(
            [
                'strip_null' => true,
                'mapping' => [
                    $name => $propertyConfigurationModel->getMapTo()
                ]
            ]
        );

$config->setOptions(
[
'strip_null' => true,
'mapping' => [
$name => $propertyConfigurationModel->getMapTo() ?? 'id'
]
]
);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant