Skip to content

Conversation

@angryPodo
Copy link
Owner

Refactored parsing logic to support standard URI schemes (e.g., myapp://home/product?id=123).

  • DefaultWispUriParser: Removed legacy ?stack= parameter support. Now splits uri.path by a delimiter (default /) to determine the backstack.
  • Wisp.kt: Now extracts all query parameters from the URI and passes them to every route factory. This allows standard query parameters (like ?id=123) to be used across the entire backstack.
  • Customization: Wisp.initialize() now accepts a custom parser, allowing developers to change the delimiter (e.g., |) if needed.

@angryPodo angryPodo self-assigned this Dec 31, 2025
@angryPodo angryPodo added the FEAT✨ Add a new feature or change the behavior/policy of an existing feature. label Dec 31, 2025
@angryPodo angryPodo linked an issue Dec 31, 2025 that may be closed by this pull request
@angryPodo angryPodo merged commit 9a0b033 into main Dec 31, 2025
2 checks passed
@angryPodo angryPodo deleted the feat/#24-make-uri-parser-flexible-support-standard-schemes branch December 31, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FEAT✨ Add a new feature or change the behavior/policy of an existing feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Make URI parser flexible & support standard schemes

2 participants