Do you guys know when i override the type, it returns to minLength and maxLength?
Are you referring to YANG types and derived types? It allows you to add further restrictions, not exactly to override a type.
Sorry. Let me clarify my concern. When I derived a type, it returns two minLength and maxLength.
I still do not understand. When you write “it returns”, what is “it”, the derived type? In what context?