Hi all, I have a situation where I¹d like to vary the object returned by an resource.adaptTo call based on selectors in the request. Is it possible to get access to the selectors inside of an adaptTo call? If not, should I be treating the request object as adaptable, rather than the resource?
The use case here is that I need to return an object containing metadata about the page itself; for most pages, that¹s contained with the resource object alone, but for some, the metadata varies based on the selectors that come in as part of the request. Thanks in advance for your help. Best, Dan
