https://bugzilla.wikimedia.org/show_bug.cgi?id=66020
Bug ID: 66020
Summary: make constructor args of SerializerFactory mendatory.
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Web browser: ---
Mobile Platform: ---
SerializerFactory should require all services to be provided to the
constructor. To support this, WikibaseRepo (and perhaps WikibaseClient) should
get a getSerializerFactory method. This would avoid ad-hoc construction of
services outside the proper initialization context, e.g. the awkward
construction of an EntityFactory in the constructor of EntitySerializer.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l