Page MenuHomePhabricator

Forms via wbeditentity: Discuss constraint strategy
Closed, ResolvedPublic


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?

Event Timeline

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.

Pablo-WMDE removed Pablo-WMDE as the assignee of this task.

Change 425079 abandoned by Pablo Grass (WMDE):
wbeditentity: constraint strategy

Abandoned in favor of