hapi-decorators
hapi-decorators copied to clipboard
Support class methods defined as a property
These methods have an initializer of type [Function]
instead of a value in the descriptor.
Can you explain a little more about what the issue is?
I'd like to be able to decorate methods as follows
@controller('/example')
class Example {
@get('/')
hello = (request, reply) => reply('world')
}
Ah! Would totally take a PR to support this if you have the time.