Closed RomkeVdMeulen closed 4 years ago
What do you think @bigopon?
@RomkeVdMeulen Big oops, i completely forgot about this, sorry. I left a couple of comments, other than that, It's looking good. Will do 2nd round of review soon
@bigopon I've renamed the config class. Any other changes you'd like?
@bigopon Anything else?
@RomkeVdMeulen let's go i guess 👍 cc @EisenbergEffect @fkleuver
Fixes #535.
I moved
AureliaValidationConfiguration
to a separate file and added a methoddefaultValidationTrigger
that users can call to globally configure the default validation trigger like so:I wasn't sure how to get the configured trigger into the
ValidationController
so I simply opted to register the config instance and inject it.I considered making
AureliaValidationConfiguration.getDefaultValidationTrigger()
private to present a cleaner interface to users, but decided against it since this way the call in theValidationController
constructor can be type-checked.