Last modified: 2014-11-16 21:27:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T68020, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66020 - make constructor args of SerializerFactory mandatory
make constructor args of SerializerFactory mandatory
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=0
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-02 11:25 UTC by Daniel Kinzler
Modified: 2014-11-16 21:27 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2014-06-02 11:25:58 UTC
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.
Comment 1 Jeroen De Dauw 2014-11-16 21:27:54 UTC
Superseded by https://bugzilla.wikimedia.org/show_bug.cgi?id=62188

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links