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

Extend union support #2468

Merged
merged 5 commits into from
Nov 30, 2023
Merged

Extend union support #2468

merged 5 commits into from
Nov 30, 2023

Conversation

jsvdvis
Copy link
Contributor

@jsvdvis jsvdvis commented Nov 13, 2023

Resolves #2462

  • Added or updated tests
  • Documented user facing changes
  • Updated CHANGELOG.md

Changes

This MR adds support for extending unions. The extend union syntax was already supported by the parser, but was not yet implemented in the ASTBuilder.

Breaking changes

Code that already uses the syntax might expect it to silently be ignored, which is no longer the case with this MR. People should not depend on this and thus I do not think it is worth mentioning in the documentation. If someone disagrees and has an idea where this should be mentioned, please let me know.

@jsvdvis
Copy link
Contributor Author

jsvdvis commented Nov 13, 2023

The failing phpstan check is likely due to a recent phpstan package update and unrelated to my changes (unless I am missing something).

@spawnia spawnia added the enhancement A feature or improvement label Nov 28, 2023
spawnia
spawnia previously approved these changes Nov 28, 2023
@spawnia
Copy link
Collaborator

spawnia commented Nov 28, 2023

Thank you, could you please resolve conflicts so this can be merged?

@jsvdvis
Copy link
Contributor Author

jsvdvis commented Nov 30, 2023

The conflicts should be resolved now.

@spawnia spawnia merged commit 7e4b3be into nuwave:master Nov 30, 2023
19 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extend union support
2 participants