Skip to content

@blockprotocol/graph@0.5.0

Choose a tag to compare

@hash-release hash-release released this 26 Aug 09:09
· 9 commits to main since this release
Immutable release. Only release title and notes can be modified.
4b5c087

Minor Changes

  • Make rightEntity / leftEntity on LinkEntityAndRightEntity / LinkEntityAndLeftEntity possibly undefined, reflecting what getOutgoingLinkAndTargetEntities / getIncomingLinkAndSourceEntities actually return when a link's has-right-entity / has-left-entity edge 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)