@blockprotocol/graph@0.5.0
·
9 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Minor Changes
- Make
rightEntity/leftEntityonLinkEntityAndRightEntity/LinkEntityAndLeftEntitypossiblyundefined, reflecting whatgetOutgoingLinkAndTargetEntities/getIncomingLinkAndSourceEntitiesactually return when a link'shas-right-entity/has-left-entityedge is not resolved into the subgraph. Previously an unsafe cast hid this, allowing runtime crashes when consumers indexed into a missing target entity array. (@TimDiekmann, #8992)