Using v.id() in a v.union()
Old approach using a string
New approach using a union
The new approach not only allows me to use the type for doing some smart dynamic rendering of a component based on the type in the frontend, and the id with the union types of the different id's for a call to action, allows me to easily delete the id in the backend.
Is there any reasons not to do it this way. Before i migrate things to this new approach.
