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

Update AuditedCollection in order to respect Collection interface #324

Merged
merged 1 commit into from
Feb 16, 2021

Conversation

phansys
Copy link
Member

@phansys phansys commented Apr 11, 2018

Subject

Update AuditedCollection in order to respect Collection interface.

I am targeting this branch, because these changes attempt to respect BC.

Closes #308.

Changelog

### Fixed
- `AuditedCollection` methods in order to respect `Collection` interface.

@phansys phansys changed the title Add tests for issue #308 [WIP] Add tests for issue #308 Apr 11, 2018
@phansys phansys force-pushed the ticket_308 branch 2 times, most recently from 0061b76 to c415142 Compare April 11, 2018 22:23
@phansys phansys changed the title [WIP] Add tests for issue #308 [#308] Update AuditedCollection in order to respect Collection interface Apr 11, 2018
@phansys
Copy link
Member Author

phansys commented Apr 11, 2018

Now, this PR has 2 commits. First (835303a) just adds creates new instances of ArrayCollection in specific methods; while the second (770a364) decorates ArrayCollection for the whole class (which seems more consistent IMO).
Please share your concerns in order to decide which one to pick.
Thank you in advance.

@phansys phansys force-pushed the ticket_308 branch 3 times, most recently from 770a364 to 630d329 Compare April 16, 2018 12:11
@phansys
Copy link
Member Author

phansys commented Apr 16, 2018

Since I think you don't have enough time to review or make a deep analysis on this fix, I chose the 2nd option and squashed my commits.
From my point of view, It is ready to merge.

@phansys phansys changed the title [#308] Update AuditedCollection in order to respect Collection interface [bugfix] Update AuditedCollection in order to respect Collection interface May 3, 2018
@phansys
Copy link
Member Author

phansys commented May 3, 2018

@tolry, could you please share your concerns or any feedback about this? Thank you in advance!

Base automatically changed from 1.0 to 1.x February 12, 2021 15:51
@SonataCI
Copy link
Collaborator

Could you please rebase your PR and fix merge conflicts?

@phansys phansys force-pushed the ticket_308 branch 2 times, most recently from e83a125 to 163acb4 Compare February 16, 2021 01:46
@phansys phansys changed the title [bugfix] Update AuditedCollection in order to respect Collection interface Update AuditedCollection in order to respect Collection interface Feb 16, 2021
@phansys phansys added the patch label Feb 16, 2021
@phansys phansys requested a review from a team February 16, 2021 01:50
@VincentLanglet VincentLanglet requested a review from a team February 16, 2021 08:37
@VincentLanglet VincentLanglet merged commit cc77e09 into sonata-project:1.x Feb 16, 2021
@VincentLanglet
Copy link
Member

Thanks @phansys

@phansys phansys deleted the ticket_308 branch February 16, 2021 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AuditCollection methods intended to return a collection of entities should not return an array
4 participants