Skip to content

[Config] Fixed support for nodes not extending BaseNode #40603

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

Merged
merged 1 commit into from
Apr 1, 2021

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Mar 27, 2021

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets
License MIT
Doc PR

Too many times we assume that a NodeInterface extends BaseNode. This PR adds a small test with a new CustomNodeDefinition and CustomNode that implements NodeInterface.

Copy link
Member Author

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

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

This PR is easier to review if one hide whitespace changes:

https://github.com/symfony/symfony/pull/40603/files?w=1

@nicolas-grekas
Copy link
Member

Thank you @Nyholm.

@nicolas-grekas nicolas-grekas merged commit bd90627 into symfony:4.4 Apr 1, 2021
This was referenced May 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants