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

add warning about sealed Result #134

Merged
merged 2 commits into from
May 13, 2024
Merged

add warning about sealed Result #134

merged 2 commits into from
May 13, 2024

Conversation

hrach
Copy link
Collaborator

@hrach hrach commented Apr 3, 2024

No description provided.

@hrach
Copy link
Collaborator Author

hrach commented May 1, 2024

@shanio could you please approve?

readme.md Outdated
@@ -180,6 +180,9 @@ NavGraph {
Another set of functionality is provided to support the result sharing. First, define the destination as `ResultDestination` type and specify the result type class. Then open the screen as usual and utilize `ComposableResultEffect` or `DialogResultEffect` to observe the destination's result. To send the result, use
`NavController`'s extension `setResult`.

> [!WARNING]
> Do not make the Result class sealed as it may cause issue (see kiwicom/navigation-compose-typed#133). You may put a sealed type to a Result's property.
Copy link
Member

Choose a reason for hiding this comment

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

issues or an issue (like ..)

@hrach hrach enabled auto-merge (squash) May 13, 2024 07:43
@hrach hrach merged commit 5c46ddf into main May 13, 2024
1 check passed
@hrach hrach deleted the hrach-patch-1 branch May 13, 2024 07:46
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.

None yet

2 participants