Unfortunately there is no technology to do conditional mapping in the way you suggest. If there was some kind of mapper that
would do this it wouldn''t make life any better for the resolution cache anyway. In the guts of endpoints you can implement
dynamic resolution and attach dependencies to the resolution and these can be dynamic - that''s how you can change a mapper
definition and see changes propagate but this stuff is quite hard to get right and can easily go very wrong - just ask Peter
;-) Usually it''s best to do this kind of thing as an overlay and issue the requests rather than try to control it at the
resolution level.
On a closely related topic, one of the (currently) unstated axioms of the implementation is that spaces must not resolve differently for different requests with the same identifier and verb. The can change over time but should not request-ist if you see what I mean. This means request headers, other spaces in the request scope and the requestor should not effect resolution.
Cheers, Tony
On a closely related topic, one of the (currently) unstated axioms of the implementation is that spaces must not resolve differently for different requests with the same identifier and verb. The can change over time but should not request-ist if you see what I mean. This means request headers, other spaces in the request scope and the requestor should not effect resolution.
Cheers, Tony