Skip to content

[AutoMapper] Handle dictionary with ArrayTransformer #433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 3, 2020

Conversation

Korbeil
Copy link
Member

@Korbeil Korbeil commented Nov 3, 2020

Since symfony/property-info 5.2, we can handle dictionary in the AutoMapper (see symfony/symfony#37559), we just have to have the phpDoc array<string, string> on the related property.
So I introduced the DictionaryTransformer to handle this behavior !

@Korbeil Korbeil force-pushed the fix/automapper-array-transformer branch from 87cb041 to 9cb457f Compare December 3, 2020 14:23
@Korbeil Korbeil removed the waiting label Dec 3, 2020
@Korbeil Korbeil mentioned this pull request Dec 3, 2020
12 tasks
@Korbeil Korbeil merged commit 6d377e3 into janephp:next Dec 3, 2020
@Korbeil Korbeil deleted the fix/automapper-array-transformer branch December 3, 2020 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy