-
Notifications
You must be signed in to change notification settings - Fork 17
IBX-10735: Leverage new Content Type Search API #1730
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
Conversation
e991be0 to
0462d36
Compare
findContentTypes PAPI contract in content type list|
|
||
| $adapter = new ContentTypeListAdapter($this->contentTypeService, $languages); | ||
|
|
||
| self::assertEquals( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| self::assertEquals( | |
| self::assertSame( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assertSame doesn't seem to work, these won't be exactly the same types?
c3d2767 to
3162c8b
Compare
|
|
As the content type list is already cached for a given group and this list is used in multiple places in the app there is no real advantage of using this new adapter for now, closing it. |




Related PRs:
ibexa/core#633
Description:
This PR replaces the old
ArrayAdapterwith a dedicated one that utilizes a newfindContentTypesPAPI contract.For QA:
We need to check whether the content type list behaves exactly the same as before, potentially we could check what's the performance gain.
Documentation: