c***@public.gmane.org
2011-12-19 03:30:34 UTC
I would like my per-request injectable provider to inject instances
into my resource filters. Given that resource filters are singletons,
what is the recommended way of achieving this?
The injectable provider is used to extract some path params and convert
them into domain objects. I would like to use the resource filters to
perform some validation on those objects before the resources start
consuming them hence the question...
Thanks!
into my resource filters. Given that resource filters are singletons,
what is the recommended way of achieving this?
The injectable provider is used to extract some path params and convert
them into domain objects. I would like to use the resource filters to
perform some validation on those objects before the resources start
consuming them hence the question...
Thanks!