We need to think about when a parameter validation interceptor ought to be executed in the interceptor stack
Before or after transaction, security? Some interceptors can change param values.
It's likely that transaction and security must go first. What about others?
Gunnar Morling added a comment - 16/Nov/11 8:12 AM
I guess the validation interceptor should be executed as late as possible. I'm just wondering whether this is something which we should define in BV. Wouldn't BV not only provide the API/meta model for method validation, while it's up to integrators how/when to invoke it? In that case we might just add some sort of recommendation related to that aspect to the spec.
|