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?
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| wbeditentity: constraint strategy | Pablo Grass (WMDE) | mediawiki/extensions/WikibaseLexeme | master | +234 -21 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Lydia_Pintscher | T190906 Add & Edit Forms via wbeditentity | |||
| Resolved | None | T190930 Forms via wbeditentity: Discuss constraint strategy |
Event Timeline
Comment Actions
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.
Comment Actions
Change 425079 abandoned by Pablo Grass (WMDE):
wbeditentity: constraint strategy
Reason:
Abandoned in favor of https://gerrit.wikimedia.org/r/#/c/427660/