Skip to content
New issue

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

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

Already on GitHub? # to your account

New class EntityDiffGenerator #32

Open
5 tasks
mathieu-ducrot opened this issue Sep 10, 2021 · 0 comments
Open
5 tasks

New class EntityDiffGenerator #32

mathieu-ducrot opened this issue Sep 10, 2021 · 0 comments

Comments

@mathieu-ducrot
Copy link
Contributor

mathieu-ducrot commented Sep 10, 2021

Objective

Resume DiffGenerator system in a new class EntityDiffGenerator who will be used by SmartSonataBundle for preview

Steps

  • Resume DiffGenerator and replace $multiArrayData by $entities
  • Remove param $identifierCallback + use accessor instead for get value of identifier
  • Rename generateDiff($entity, array $data) => generateDiff($entity, $entityFromDb)
  • Adapt the work of generateDiff for it to work with entity instead of an array
  • Resume DiffGenerator tests case and adapt for complete code coverage on class
@lfortunier lfortunier changed the title Nouvelle class EntityDiffGenerator New class EntityDiffGenerator Sep 13, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant