Closed (fixed)
Project:
Drupal core
Version:
main
Component:
typed data system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Jan 2026 at 22:24 UTC
Updated:
18 Mar 2026 at 22:05 UTC
Jump to comment: Most recent
Comments
Comment #2
godotislateComment #4
godotislateAll instances of HasNamedArgument attribute have been removed.
To make things simpler, I also made
ExtensionNameConstraintnot have any required parameters.Also, I left the ComplexData constraint deprecations in
FieldConfigBase::getItemDefinition()andBaseFieldDefinition::getPropertyConstraints()because they might be better handled in #3570464: ComplexDataConstraint does not work correctly with typed data having a property named properties.Couple of thoughts for follow ups:
Constraintclass be deprecated?$field_definition->getConstraint('UniqueField')should probably be changed to$field_definition->getConstraint('UniqueField') !== NULL.DataDefinitionInterface::getConstraintdocumentation should probably updated to includeNULLin its return type and that it returns the constraint options (e.g., passed in fromaddConstraint()). And StringItemTest::testGenerateSampleValue should also be updated to matchComment #5
godotislateBumping to at least Major, since this is a Symfony 8 blocker.
Comment #6
smustgrave commentedMay be related? https://www.drupal.org/project/drupal/issues/3553503
Comment #7
godotislateComment #8
godotislateRebased for merge conflict.
Linking to #3570077: Update to Symfony 8 because it's either a blocker or a lot of the changes here need to be added there.
Last commit for the script byte changes were to get tests passing, because its seems like HEAD was broken upstream: #3443571-85: Mobile version of Navigation should have focus trap. Upstream fixed and MR rebased.Comment #9
smustgrave commentedNot entirely sure how to test this one. Fact the pipeline is green?
Comment #10
godotislateYes. And check that there are no remaining usages of HasNamedArguments.
Comment #11
godotislateAll deprecation references to
https://www.drupal.org/node/3554746should be gone as well.Comment #12
smustgrave commentedGoing to go on a limb then. Tests are passing and all instances of HasNamedArguments are gone.
Comment #13
godotislateThanks!
Separately, noting that this is not a Symfony 8 blocker, at least not anymore, because AFAICT everything needed from here is already in the MR for #3570077: Update to Symfony 8. Downgrading to Normal.
Comment #14
quietone commentedComment #15
godotislateRebased for merge conflict.
Comment #16
catchCommitted/pushed to main, thanks!