Named parameters in Service config #38
Labels
No labels
bug
confirmed
critical
discussion
documentation
Doing
enhancement
suggestion
support
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/hazaar-warlock#38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
At the moment, the
service.json
config file can have anargs
parameter for a service spec. This parameter is an array of parameters that will be passed to the action function when it is executed. I would like to use my little reflection trick to allow this to be an object so that the parameters can be named, instead of just numerically sequenced.So that this:
Can become this:
The function could then be implemented as normal as:
changed the description
changed the description
This is actually already implemented. I love it when I have a great idea twice!
closed