"%TYPE" and "%ROWTYPE" should not be used in package specification

As per Sonarqube CodeSmell Rule we should not use %TYPE & %ROWTYPE in package specification, however I am observed there is reluctance from the developer community, can you please let me know what are disadvantages of using %TYPE & %ROWTYPE in package specification which can be explained to developers.

If there is some documentation around it, please share.

Thanks

Hi,

Welcome to the community!

Generally, it’s helpful to specify the language in question :smiley:

However in this case, my response is language-agnostic: that should be fully explained in the rule description. Have you tried looking there?

 
:smiley:
Ann