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

Not support compatible primary key #4

Open
peter-gribanov opened this issue Jul 21, 2016 · 2 comments
Open

Not support compatible primary key #4

peter-gribanov opened this issue Jul 21, 2016 · 2 comments

Comments

@peter-gribanov
Copy link

https://github.com/php-ddd/domain-event/blob/master/src/AbstractAggregateRoot.php#L95

@juliendufresne
Copy link
Member

Can you please elaborate ?

@peter-gribanov
Copy link
Author

Compatible primary key - primary key consisting of two or more columns.

Also, the ID not always will integer.
For example country code can be used as a primary key.

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

2 participants