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

Add type filtering in smart content #172

Merged
merged 3 commits into from
Nov 25, 2020

Conversation

Prokyonn
Copy link
Member

This PR adds the possibility to add a type filter in the smart content.

@Prokyonn Prokyonn force-pushed the feature/smartcontent-type-filter branch from 9735c3c to ad4a80a Compare November 24, 2020 15:31
@Prokyonn Prokyonn force-pushed the feature/smartcontent-type-filter branch from ad4a80a to 4603051 Compare November 24, 2020 16:14
@Prokyonn Prokyonn force-pushed the feature/smartcontent-type-filter branch from 0fb964d to 4588cea Compare November 24, 2020 16:34
],
],
]);

$this->assertContainerBuilderHasParameter('sulu.model.dimension.class', 'TestModel');
$this->assertContainerBuilderHasService('sulu.repository.dimension', 'TestRepository');
$this->assertContainerBuilderHasService('sulu.repository.dimension', 'Sulu\Bundle\ContentBundle\Tests\Application\ExampleTestBundle\TestRepository');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we just use the EntityRepository::class here? 🤔


namespace Sulu\Bundle\ContentBundle\Tests\Application\ExampleTestBundle;

class TestRepository
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this feels strange 😕

@niklasnatter niklasnatter merged commit 0e9ebd5 into sulu:master Nov 25, 2020
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.

2 participants