* Fix the type of "Hooks" to not accept string (it never would've
worked)
* Fixed the lack of "services" from RestRoutes ObjectFactory specs,
since RestRoutes and HookHandlers is supposed to be the same.
Bug: T240307
Change-Id: I1a8657ff9fd14618c6709dbab62c3b4ee9f659a5
"type": "object"
},
"Hooks": {
- "type": [ "string", "object" ],
+ "type": "object",
"description": "Hooks this extension uses (mapping of hook name to callback)"
},
"JobClasses": {
"args": {
"type": "array",
"description": "The arguments passed to the handler constructor or factory"
+ },
+ "services": {
+ "type": "array",
+ "description": "If supplied and non-empty, the named services are requested from the service container and prepended before 'args'."
}
}
}