i was wondering about how to create different versions of a stream.
What I found out so far:
- a single stream represents only one version with an individual stream id (new versions must obviously get a new stream id)
- there is a “parent” and “children” attribute in the SpeckleStream class
Does that mean, I only need to add the parent stream id to the new version? Do I also need to update the parents children attribute?
Also I tried the StreamUpdateAsync method and it seems to overwrite the old stream?! Is this intended behavior? Am I supposed to only throw updated/new objects in there?
A nice example would also be highly appreciated!