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

Initial refactoring to work with doctrine ODM #34

Closed
wants to merge 6 commits into from

Conversation

wh1pp3rz
Copy link

No description provided.

@ronisaha
Copy link
Member

ronisaha commented Dec 2, 2018

Thanks @wh1pp3rz I'll review the code asap, and try to merge it by this week.

@ronisaha
Copy link
Member

ronisaha commented Dec 3, 2018

It's locks like, you are supporting only MongoDB. But there is other kind of documents also, like PHPCR, CouchDB.
As my current code is tightly coupled with ORM your implementation is tightly coupled with MongoDb.

I think I'll go for new version major release with ODM support. It will be BC breaking in my view.

For instance I'll move to Doctrine\Common\Persistence\Event\LifecycleEventArgs instead of
Doctrine\ORM\Event\LifecycleEventArgs then it would bbe compatible for both ORM and ODM.

That will reduce many code duplication.

What do you think?

@wh1pp3rz
Copy link
Author

wh1pp3rz commented Dec 3, 2018 via email

@ronisaha ronisaha mentioned this pull request Dec 4, 2018
8 tasks
@ronisaha
Copy link
Member

ronisaha commented Dec 4, 2018

I was thinking to rename the entity_class option to audit_log_class there is no need for two different option for it if these values are mutually exclusive.

@wh1pp3rz
Copy link
Author

wh1pp3rz commented Dec 4, 2018 via email

@ronisaha
Copy link
Member

ronisaha commented Dec 4, 2018

Could you close this PR and start new one based on feature/odm branch. and we can use #35 to track the progress.

Thanks for your contributions.

@wh1pp3rz wh1pp3rz closed this Dec 4, 2018
@wh1pp3rz wh1pp3rz deleted the poc/odm-compatible branch December 4, 2018 14:12
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

Successfully merging this pull request may close these issues.

None yet

3 participants