Core Data query for Transformable

Hi,

in my Core Data model, I’m using Transformable to store values of different kinds to the same attribute (I’m creating a user generated filter for data, that could filter for Integers, Boolean or other values - to avoid creating attributes for each possible types i‘m using transformable Any).

now, while querying for these values, I’ve noticed that this attribute is never correctly evaluated, but is always false.

is it possible to query for Transformable or do I need to change my approach and create an attribute for each possible Type?

Core Data query for Transformable
 
 
Q