Find answers from the community

Updated 8 months ago

πŸ‘‹ I'm hearing there's some odd

πŸ‘‹ I'm hearing there's some odd restructuring of Document in the later patches. Are these all going to be subclassed off of Document or are they just all different now?
L
M
14 comments
Not sure what you mean?
The base object is BaseNode
TextNode and Document are extensions of this
Okay, so ImageDocument then is a BaseNode and not a Document?
Thanks Logan, I appreciate the time.
ImageDocument extends Document, and just adds an image field and some helper method
Okay, so it does extend. I'll wag finger at my dev.
I'm guessing they just aren't familiar with inheritance advantages.
For the most part, a node and a document are the same object, its mostly about what they represent
We're going to be doing something cool with your stuff. Will share when it's done.
Is there a source of notifications on code changes so I can keep better apprised?
git I guess.. πŸ˜„
heh yes -- in general though, these very core abstractions are pretty insulated from changes.

I changed the node class once and it was a nightmare haha would like to avoid this in the future πŸ‘
Add a reply
Sign up and join the conversation on Discord