Page MenuHomePhabricator

Make DispatchingServiceFactory create EntityIdParser itself, not depend on WikibaseClient to get it
Closed, DeclinedPublic

Description

Currently DispatchingServiceFactory uses WikibaseClient to get a correctly configured DispatchingEntityIdParser instance. This leads to DispatchingServiceFactory depend on the top-level factory, which is bad.
DispatchingServiceFactory should be able to instantiate the "basic" EntityIdParser itself. For this it should get "entity id builder" definitions which are configured in the particular setup.

Related Objects

StatusSubtypeAssignedTask
Declineddchen
OpenNone
OpenNone
DuplicateNone
OpenFeatureNone
OpenFeatureNone
DuplicateNone
ResolvedNone
ResolvedNone
ResolvedNone
OpenNone
OpenNone
StalledNone
ResolvedLydia_Pintscher
ResolvedLydia_Pintscher
ResolvedLydia_Pintscher
ResolvedLydia_Pintscher
ResolvedWMDE-leszek
ResolvedWMDE-leszek
DeclinedNone

Event Timeline

Would injecting EntityTypeDefinitions instance into DispatchingServiceFactory be a reasonable solution to deal with the issue?

Ladsgroup renamed this task from Make DispatchingServiceFactory create EntityIdParser itself, not depend on WiikibaseClient to get it to Make DispatchingServiceFactory create EntityIdParser itself, not depend on WikibaseClient to get it.Jan 4 2017, 10:35 AM
WMDE-leszek lowered the priority of this task from Medium to Low.Mar 1 2018, 9:40 AM
Addshore subscribed.

DispatchingServiceFactory doesnt exist