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

Allow blockContext without template #1026

Merged
merged 1 commit into from
Mar 7, 2022

Conversation

VincentLanglet
Copy link
Member

@VincentLanglet VincentLanglet commented Mar 6, 2022

Subject

SonataAdmin is using BlockContext without template. The template is provided instead by the admin.
I think it's fine to not provide a template then. But we should have the deprecation for null template in the getter then.

Changelog

### Fixed
- Do not trigger a deprecation if a template setting is not provided in a block context `__construct`.

jordisala1991
jordisala1991 previously approved these changes Mar 7, 2022
@SonataCI
Copy link
Collaborator

SonataCI commented Mar 7, 2022

Could you please rebase your PR and fix merge conflicts?

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.

None yet

3 participants