-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove ManualsPublisherWiring #808
Conversation
In this comment @h-lame recommended only merging this when #799 had been merged. That PR has since been merged, so there's no longer any need to hold off on this one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I previously reviewed #798, so I've confined my review to checking that all the feedback in that PR has been addressed in this PR.
I'm going to rebase this on master and force-push in preparation for merging. |
The `:manual_builder` and `:manual_document_builder` are the only entries in `ManualsPublisherWiring.get` whose name ends in `_builder`. Making this explicit should help me remove the `ManualsPublisherWiring` in future.
Note that `ManualPublishingApiBulkDraftExporter` takes `wiring` as a parameter. I'm presuming that it's an instance of `ManualsPublisherWiring`. I'm not worried about investigating too much further as `ManualPublishingApiBulkDraftExporter` doesn't appear to be instantiated anywhere anyway!
This does not appear to be used.
As in the commit title "Inline :repository_registry", I'm assuming that the `wiring` passed to `ManualPublishingAPIBulkDraftExporter` is a `ManualsPublishingWiring`. I can't be sure because `ManualPublishingAPIBulkDraftExporter` doesn't appear to be instantiated.
Note that this is memoised using a class instance variable as it was previously defined as a singleton.
Note that this is memoised using a class instance variable as it was previously defined as a singleton.
Note that this is memoised using a class instance variable as it was previously defined as a singleton.
Note that this is memoised using a class instance variable as it was previously defined as a singleton.
Note that this is memoised using a class instance variable as it was previously defined as a singleton.
Now that it's no longer being used.
92951e4
to
ccc877a
Compare
Supersedes PR #798.
This branch simplifies the app by removing the level of indirection introduced in the
ManualsPublisherWiring
class.The changes in this branch and the feedback on PR #798 have revealed a number of further questions/improvements that we'll tackle separately:
ManualDocumentRenderer
andSpecialistDocumentRenderer
(Investigate the difference between rendering pipelines ofManualDocumentRenderer
andSpecialistDocumentRenderer
#810).Services
module to hold singleton instances of various API clients (Introduce aServices
module to hold singleton instances of various API clients #811).