Skip to content

Conversation

timkolotov
Copy link
Contributor

Solves #269 by making oneOf relation required (throwing an error) unless the field is explicitly set to nullable.

@timkolotov timkolotov force-pushed the feat/required-oneof-relations branch from 430ec55 to ca448f9 Compare June 13, 2023 03:03
@timkolotov
Copy link
Contributor Author

@kettanaito do you by any chance have time to review this PR?

@timkolotov timkolotov force-pushed the feat/required-oneof-relations branch from ca448f9 to 8ff30ad Compare May 7, 2024 12:41
@timkolotov
Copy link
Contributor Author

@kettanaito it's been a year, but the issue is still present and I hope this MR has a chance to be merged 🙂

@goncard
Copy link

goncard commented Aug 29, 2024

Any news on this?

@letkeeko
Copy link

letkeeko commented Nov 3, 2024

Now what? Also facing this undefined issue with oneOf

@kettanaito kettanaito mentioned this pull request Sep 28, 2025
@kettanaito
Copy link
Member

Released: v1.0.0 🎉

This has been released in v1.0.0.

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.

4 participants