Does CloudKit support query predicate for reference field != nil?

I have a record type called ContactInformation that has phone and email as fields. This record type also has two references that point to different types. Namely type1 and type2 for illustration (one is a person reference, another is a place reference).

When I seed my application I do a blind query operation to get all records. I don't think there is a way to perform a query using a predicate where the field isn't nil but thought I'd pose the question to the forums.

The idea would be query where type1 != nil and then a second one where type2 != nil. Using CloudKit Console doesn't receive any results when running the following queries so I don't think this is supported as of today.

CloudKit Console provides the following error when a reference filter by is applied with empty value: invalid id string: empty

As a work around, I could create a 'dummy/default' reference id then the != "dummy identifier" would in theory work but it feels very hacky.

Has anyone found a more elegant solution than to use a dummy reference ID?

I filed this feedback requesting the ability to create a predicate that supports nil values: FB9833175

Does CloudKit support query predicate for reference field != nil?
 
 
Q