use compare attribute values from the type in dartling