@Ignore()
will not be present during the storage procedure, response to client and serialization ( JSON.stringify()
).addFieldsToIgnore
instance function allow you to apply the ignore functionality without decorators, each field added to "ignored" will automatically be hidden.removeFieldsFromIgnore
instance function allow you to prohibit hiding fields using hideIgnoredFields()
.
The passed fields names can be either a field that decorated with Ignore()
or fields which add with addFieldsToIgnore()
. hideIgnoredFields()
instance function will hide all of the fields which decorated with Ignored()
or added by addFieldsToIgnore
.showIgnoredFields()
instance function.