Skip to content

fix: support self-referencing relations#364

Merged
kettanaito merged 4 commits into
mswjs:mainfrom
jrjohnson:self-many-to-one-update-test
May 15, 2026
Merged

fix: support self-referencing relations#364
kettanaito merged 4 commits into
mswjs:mainfrom
jrjohnson:self-many-to-one-update-test

Conversation

@jrjohnson
Copy link
Copy Markdown
Contributor

@jrjohnson jrjohnson commented May 13, 2026

Failing tests for #363 - when a model references itself updating one side updates the other in unexpected ways.

When a model references itself updating one side updates the other in
unexpected ways.
Comment thread tests/relations/one-to-one.test.ts Outdated
@kettanaito kettanaito changed the title Add Failing Tests For Self Referencing test: add failing tests for self-referencing relations May 15, 2026
@kettanaito kettanaito changed the title test: add failing tests for self-referencing relations fix: support self-referencing relations May 15, 2026
@kettanaito kettanaito merged commit 57d26d8 into mswjs:main May 15, 2026
3 checks passed
@jrjohnson jrjohnson deleted the self-many-to-one-update-test branch May 15, 2026 20:34
@kettanaito
Copy link
Copy Markdown
Member

Released: v1.1.6 🎉

This has been released in v1.1.6.

Get these changes by running the following command:

npm i @msw/data@latest

Predictable release automation by Release.

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.

Self Referencing Relationships Fail

2 participants