Vertex: using derived/function-backed properties with object-backed links

I have a TSv2 function that returns a custom value for objects that are used in object-backed links. The function works as expected in the Property List widget in Workshop, however if I select an (object-backed) edge in Vertex so that the properties for the object backing the edge are displayed in the Selection pane, then attempt to add my function-backed property to the list, I get a :warning: icon instead of the property value with the tooltip “failed to load derived property value”.

EDIT: Similarly, when attempting to use my function to populate object-backed edge labels, the label simply says “failed”, and nothing happens at all when trying to color-code edges using the function.

Is there something unique to Vertex needed in the function signature? Or maybe a typeclass I’m missing somewhere?

Thanks!

This appears to be a bug in Vertex where attempting to use a derived/function-backed property to style (merged) object-backed edges does not work unless the derived property in question is first used in the context of the object itself, such as adding the derived property to the Selection pane or unmerging the edge and styling the node using the derived property. If attempting to style the edge is done first, then the failure is cached such that subsequent attempts to use the derived property result in immediate failure to load the property value.