Skip to content
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

[Timestampable] Allow multiple fields for "change" trigger in XML mapping #2863

Open
bartosz-zasada opened this issue Sep 2, 2024 · 0 comments

Comments

@bartosz-zasada
Copy link

According to the documentation, it's possible to set up multiple fields to trigger the "change" action. This, however, is only possible when using attribute mapping. As an XML mapping user, this feature is not available for me. I would greatly appreciate being able to take advantage of this feature without having to rewrite my entire entity mapping to attributes.

A one-liner change in \Gedmo\Timestampable\Mapping\Driver\Xml would allow a simple comma-separated list to be provided in the field attribute of the gedmo:timestampable element.

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

No branches or pull requests

1 participant