package Ġdev . alex and rev ie ira . manager . validation Ċ Ċ import Ġdev . alex and rev ie ira . manager . controllers . regist ra . dto . Nova Ch ave Request Ċ import Ġio . mic ronaut . core . annotation . Annotation Value Ċ import Ġio . mic ronaut . validation . validator . constraints . Constraint Validator Ċ import Ġio . mic ronaut . validation . validator . constraints . Constraint Validator Context Ċ import Ġjak arta . inject . Singleton Ċ Ċ @ Singleton Ċ class ĠValid Pix Key Validator Ġ: ĠConstraint Validator < Valid Pix Key , ĠN ova Ch ave Request > Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠisValid ( ĊĠĠĠĠĠĠĠ Ġvalue : ĠN ova Ch ave Request ?, ĊĠĠĠĠĠĠĠ Ġannotation Metadata : ĠAnnotation Value < Valid Pix Key >, ĊĠĠĠĠĠĠĠ Ġcontext : ĠConstraint Validator Context ĊĠĠĠ Ġ): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġif Ġ( value ?. tipo Ch ave Ġ== Ġnull ) Ġreturn Ġfalse ĊĊĠĠĠĠĠĠĠ Ġreturn Ġvalue . tipo Ch ave . valid a ( value . ch ave ) ĊĠĠĠ Ġ} Ċ }