Forms via wbeditentity: Discuss constraint strategy
Closed, ResolvedPublic

Description

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?

Pablo-WMDE updated the task description. (Show Details)

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 closed this task as Resolved.Apr 11 2018, 11:09 AM
Pablo-WMDE removed Pablo-WMDE as the assignee of this task.

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

Reason:
Abandoned in favor of https://gerrit.wikimedia.org/r/#/c/427660/

https://gerrit.wikimedia.org/r/425079