Skip to content

Eliminate, alter, or make caveats to references to type-safety. #20

@Revolucent

Description

@Revolucent

Strictly speaking, CDQI's filtering is not type safe. Using a proxy, we can make a comparison to any type, e.g.,

let department = DepartmentAttribute()
let predicate: NSPredicate = department.name == 7

This produces the predicate "name == 7", which will probably fail at runtime. I have no plans to create a truly type-safe version of CDQI. CDQI is focused around flexibly building keypaths and predicates, not type-safety per se.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions