Closed (fixed)
Project:
HTTP Client Manager
Version:
9.3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2023 at 10:09 UTC
Updated:
11 Oct 2023 at 09:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
aronne commentedHi @jurgenhaas
yes we'd gladly merge that feature if you're gonna open a MR
Regards,
aronne
Comment #4
jurgenhaasI've added a first generator with templates which can be called with
drush http_client_manager:service. The user gets asked a couple of questions and then a set of files is being created from the given answers.Note: this is built for the latest version of the code generator, so Drush version 12 is required in this case.
This approach only covers a fraction of the possibilities that this amazing module provides, but it may be an easy starting point for new users. Of course, providing such a code generator generates some sort of default, which users are going to assume is THE way to use this module. I know, this can be opinionated and therefore, the review should really determine, if the output is what you want to deliver as a recommended way of usage.
Whether we want to make the code generator more sophisticated or leave it on its intro level is totally up to the maintainers. For my own use case, where I use it for ECA TV live sessions to show how http client manager and ECA can work together. this is sufficient.
Comment #6
aronne commentedI'm gonna upload the interdiff for the latest version.
Comment #7
aronne commentedAnd this is the whole patch.
Comment #9
aronne commentedComment #10
aronne commentedThank you @jurgenhaas for your valuable contribution.
Regards,
aronne