Skip to content

Conversation

@btriller
Copy link
Contributor

Currently, classfilterdata() does not return a variable for array_of_XXXs if given data structure's value do not comply completely to given array_of_XXXs parameter.
On the other hand, classfilterdata() does return a variable when given object_of_XXXs even if this variable does not completely comply to object_of_XXXs.

This patch changes classfilterdata() to not return a variable as well for object_of_XXXs in case given data structure's does not comply. Also add an acceptance test for it.
This patch also fixes a compiler warning mayby-uninitialized of variable remove in FnCallClassFilterData() in case parent is of type JSON object.

Currently, classfilterdata() does not return a variable for
array_of_XXXs if given data structure's value do not comply completely
to given array_of_XXXs parameter.
On the other hand, classfilterdata() does return a variable when given
object_of_XXXs even if this variable does not completely comply to
object_of_XXXs.

This patch changes classfilterdata() to not return a variable as well
for object_of_XXXs in case given data structure's does not comply.
Also add an acceptance test for it.
This patch also fixes a compiler warning mayby-uninitialized of variable
remove in FnCallClassFilterData() in case parent is of type JSON object.
@larsewi larsewi self-assigned this Jan 17, 2026
@larsewi larsewi self-requested a review January 17, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants