Skip to content

MVP of nested Selection.Column update crash#269

Open
IanKeen wants to merge 1 commit intopointfreeco:mainfrom
IanKeen:patch-1
Open

MVP of nested Selection.Column update crash#269
IanKeen wants to merge 1 commit intopointfreeco:mainfrom
IanKeen:patch-1

Conversation

@IanKeen
Copy link
Copy Markdown
Contributor

@IanKeen IanKeen commented Feb 4, 2026

When performing an update on a type with a @Selection member and one of the properties of the inner type uses @Column(as:) the keypath force cast is failing here.

The column.keyPath is KeyPath<Model, OriginalType> but its attempting to force cast it to KeyPath<Model, Column(as:)Type>

image

The PR contains a test that results in the described crash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant