WHAT IS THE BUG
When creating templates for custom types in the library, those templated do not contain the special relation called “source object”. This is only available to A) Anytype types and B) only to the first template aka the default one when installing a type from marketplace.
To my understanding, this relation is used for objects that are created with that specific template to later identify / categorize which object was created through which template. I assume this is needed for other features like applying changes from a template to objects of that kind. That said, I’m not sure why this relation only works for types you install from the marketplace and have a default template.
HOW TO REPRODUCE IT
- Check that the first template of Anytype type (e.g Book, Movie, …) contains the relation “source object”
- Create another template or create a custom type and then a new template
- See that the new template does not have the relation “source object”
- I was able to provide you a screenshot of the bug, here it is:
THE EXPECTED BEHAVIOR
I think all templates should have that relation.
SYSTEM INFORMATION
-
OS:
MacOS Ventura 13.2.1 -
Device:
MacBook Pro M1 -
Anytype Version:
0.31.0
ADDITIONAL CONTEXT
Maybe @Product_Team / @DesktopTeam can tell, if this is wanted or unwanted behaviour.