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

[TypeInfo] Proxies methods to non-nullable and fail gracefully #54679

Open
wants to merge 1 commit into
base: 7.1
Choose a base branch
from

Conversation

mtarld
Copy link
Contributor

@mtarld mtarld commented Apr 20, 2024

Q A
Branch? 7.1
Bug fix? no
New feature? no
Deprecations? no
Issues
License MIT
  • Proxies methods of "nullable union types" (ie: string|null) on non-nullable related type.
  • Gracefully fail with a LogicException on invalid method call. This allows for example to call getClassName on every Type within a try/catch block, without having to retrieve the very precise type holding the class name.

Copy link
Contributor

@Korbeil Korbeil left a comment

Choose a reason for hiding this comment

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

👍

@xabbuh xabbuh added the ❄️ Feature Freeze Important Pull Requests to finish before the next Symfony "feature freeze" label Apr 30, 2024
@nicolas-grekas nicolas-grekas modified the milestones: 7.1, 7.2 May 2, 2024
@nicolas-grekas nicolas-grekas removed the ❄️ Feature Freeze Important Pull Requests to finish before the next Symfony "feature freeze" label May 2, 2024
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.

None yet

6 participants