Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PermanentChild behaviour in test environment #268

Merged
merged 3 commits into from
Nov 8, 2022

Conversation

CherryPerry
Copy link
Collaborator

@CherryPerry CherryPerry commented Nov 8, 2022

Description

PermanentChild throws exception in UI tests due unsynchronized changes from collect.

Added new PermanentChild.addUnique API to use from PermanentChild.

Check list

  • I have updated CHANGELOG.md if required.
  • I have updated documentation if required.

import kotlinx.parcelize.RawValue

@Parcelize
data class AddUnique<NavTarget : Any>(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this expected to be called by library users? otherwise internal? if it should be public, add some Javadoc? Maybe add some either way?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think it is more useful than regular Add.

@CherryPerry CherryPerry merged commit c34c629 into bumble-tech:1.x Nov 8, 2022
@CherryPerry CherryPerry deleted the permanent-child-test-fix branch November 8, 2022 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backwards-compatible bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants