Skip to content

Throw in dev if collection keys don't belong to the same parent#277

Merged
mountiny merged 1 commit into
mainfrom
cmartins-throwInDev
Jul 13, 2023
Merged

Throw in dev if collection keys don't belong to the same parent#277
mountiny merged 1 commit into
mainfrom
cmartins-throwInDev

Conversation

@luacmartins

@luacmartins luacmartins commented Jul 13, 2023

Copy link
Copy Markdown
Contributor

Details

Coming from this comment, we should make the error easier to catch on dev by throwing it, instead of logging.

cc @marcaaron @mountiny

Related Issues

https://github.com/Expensify/react-native-onyx/pull/272/files#r1261673744

Automated Tests

N/A

Linked PRs

TBD

@luacmartins luacmartins requested a review from a team as a code owner July 13, 2023 15:44
@melvin-bot melvin-bot Bot requested review from techievivek and removed request for a team July 13, 2023 15:45

@mountiny mountiny left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, looks good to me

@mountiny

Copy link
Copy Markdown
Contributor

I think we can go ahead with this one as its late for Vivek and Marc has proposed this change before

@mountiny mountiny merged commit 43d23e8 into main Jul 13, 2023
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.

3 participants