src/Api/Constraint/RemoveFormConstraint.php is currently only valid for form remove requests. How to open this up to allow for edit/change requests w/o (much) duplication?
|Open||None||T190906 Add & Edit Forms via wbeditentity|
|Resolved||None||T190930 Forms via wbeditentity: Discuss constraint strategy|
- Mentioned In
- rEWLEb2ffacf53d6e: wbeditentity: constraint strategy
rEWLE477888ec2044: wbeditentity: constraint strategy
rEWLE06855c5c9ce6: wbeditentity: constraint strategy
rEWLEeba4012be55d: wbeditentity: constraint strategy
- Mentioned Here
- T191507: Add symfony/validator to mediawiki-vendor
T191638: Security review of symfony/validator library
We agreed that using libraries makes sense if it helps us to avoid reinventing the wheel, T191638/T191507 will make sure we can use it in production.
It was discovered that, given the action-based nature of the API (e.g. "remove" key), the entity-driven approach to constraints by @Pablo-WMDE will not work in isolation, we'll us this story to find explore ways to have clean-cut entity definitions plus the ability to combine these with the API ticks, and look at the findings once/if a first solution to these challenges exists.