Skip to content

monteiro/PR-40856

Repository files navigation

Sample debug app

Related to PR : symfony/symfony#40856

git clone git@github.com:monteiro/PR-40856.git
composer install
// up the postgresql db
docker-compose up
bin/console doctrine:migrations:migrate
bin/console doctrine:fixtures:load
symfony serve
  • execute curl localhost:8000/api/contacts
    • you should see a JSON of contacts with 2 fields
  • go to src/Entity/Contact.php and add or remove @Groups("contacts_get") on the entity properties, save
  • execute curl localhost:8080/api/contacts
    • ⚠️ you should see no changes
  • execute cache:clear
  • execute curl localhost:8080/api/contacts
    • ⚠️ you should see changes

Notes: This issue was reported by @jhice

About

Symfony serializer groups not refreshing in development mode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
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