We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In some cases certain attribute of data type might be sensitive so it should be excluded from toString method.
toString
The only way to support this is to introduce custom annotation on type declaration that will mark fields as sensitive:
annotationTypes: isSensitive: type: boolean allowedTargets: TypeDeclaration types: User: # kind can equal `User`; default value for `discriminatorValue` type: object properties: userId: type: integer salary: type: integer (isSensitive): true
So, the plugin will recognize annotation called isSensitive and will skip annotated attribute from toString method.
isSensitive
The text was updated successfully, but these errors were encountered:
d53f601
No branches or pull requests
In some cases certain attribute of data type might be sensitive so it should be excluded from
toString
method.The only way to support this is to introduce custom annotation on type declaration that will mark fields as sensitive:
So, the plugin will recognize annotation called
isSensitive
and will skip annotated attribute fromtoString
method.The text was updated successfully, but these errors were encountered: