Skip to content

alaugks/article-serializer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create a custom Symfony Normalizer for mapping values

https://dev.to/elevado/create-a-custom-symfony-normalizer-for-mapping-values-4nc2

Article Series: Mapping FieldValueIDs for the payload of the Emarsys API

  • Create a custom Symfony Normalizer for mapping values (Article / Repository)
    • Implementation with Symfony PropertyNormalizer (Branch)
  • Create a custom JMS Serializer handler for mapping value (Article / Repository)
  • Create a custom Jackson JsonSerializer und JsonDeserializer for mapping values (Article / Repository) gp

Docker image

Start docker image

docker compose -f docker-compose.yml up --build -d

Run composer install

docker exec attribute_article composer install

Run tests

docker exec attribute_article bin/phpunit

Open bash

docker exec -it attribute_article bash

Frontend

Open frontend: http://localhost:8080/