Skip to content

fix!: Fix types on BlockSvg connections#9669

Merged
gonfunko merged 1 commit intov13from
connection-types
Apr 2, 2026
Merged

fix!: Fix types on BlockSvg connections#9669
gonfunko merged 1 commit intov13from
connection-types

Conversation

@gonfunko
Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

This PR corrects the types for the connection fields on BlockSvg to indicate that they are nullable. It also fixes locations in the code that were assuming that these fields were always present.

Breaking Changes

This change is purely related to typings, not behavioral; these fields have always been nullable, the types were simply inaccurate. Code that accesses these fields should be updated to ensure that they are set or otherwise handle the case where they are not, as not all blocks have all types of connections.

@gonfunko gonfunko requested a review from maribethb March 30, 2026 22:43
@gonfunko gonfunko requested a review from a team as a code owner March 30, 2026 22:43
@github-actions github-actions bot added breaking change Used to mark a PR or issue that changes our public APIs. PR: fix Fixes a bug labels Mar 30, 2026
@gonfunko gonfunko merged commit 43be0ed into v13 Apr 2, 2026
9 of 10 checks passed
@gonfunko gonfunko deleted the connection-types branch April 2, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Used to mark a PR or issue that changes our public APIs. PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants