Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> writes: > One thing I have thought about is being able to mark a link property > as mandatory so if a value hasn't been set before realize then you
A non-null value, I presume. > receive a fatal error. This would be for cases like this where 2 > internal devices are connected together without any formal interface, > i.e. in cases where -device wouldn't work anyway. Moves the check from code one step closer to data: from the realize method to the object_property_add_link() call. I like doing things in data, because data is easier to reason about than code. [...]