Sometimes it makes sense for a constraint to involve a
combination of properties instead of any single one of
them separately. This can be addressed by adding a
constraint to the type itself. For example, consider
this Service
type, which has a limitation on how good,
fast and cheap it can be:
Let's try creating some Service
objects: