Closed RSO closed 11 years ago
What do you mean with Virtus validations? The presence of given attrributes or defaults is (currently) performed (as the first thing) in the #validate method, not during #initialize. If Github weren't being tremendously slow right now I'd link you to the file.
@markijbema, this issue is 6 months old, and I'm not quite sure what I meant here. I can imagine that things have changed in the past 6 months, so maybe this issue can be closed?
Oh sorry, I thought it also did basic validation, but maybe I mixed it up, sry. Closing since it doesn't seem relevant.
Hey Remon, why should this happen? Because at least part of the validation (the ones by virtus) will probably be run before the authorization. Would it be sufficient if
validate
runs aftercheck_authorization
(but virtus validations will run before checking authorization)?