Uploaded image for project: 'Bean Validation'
  1. BVAL-306

Clarify interceptor order in method validation triggering

    Details

    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: