The methods filter and filter_rules do not work with nested properties. For example, the code below, the filter_rules method will ignore filters for nested properties.
The expected behavior is that the nested property person.promocode should be transformed to uppercase, and in the person.name property, all spaces and <script> tags should be removed.
The methods
filter
andfilter_rules
do not work with nested properties. For example, the code below, thefilter_rules
method will ignore filters for nested properties.Result:
The expected behavior is that the nested property
person.promocode
should be transformed to uppercase, and in theperson.name
property, all spaces and<script>
tags should be removed.