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

[Task](url-state-provider): implement query string encoder and decoder #711

Closed
1 task done
Tracked by #683 ...
taymoor89 opened this issue Jan 10, 2025 · 0 comments
Closed
1 task done
Tracked by #683 ...
Assignees

Comments

@taymoor89
Copy link
Contributor

taymoor89 commented Jan 10, 2025

Task Description

To make our URLs look more intuitive, predictable, and easier to craft, implement:

  • An encoder that takes a JavaScript object and returns a query string that is safe to transmit over the internet.
    • The encoder should only accept a non-nested object that contains keys with values that are either primitive, RegExp, or an array of primitive or RegExp.
  • A decoder that takes a query string and returns a JavaScript object with all escaped values unescaped and parsed back to the corresponding data type.

Related Issues

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

No branches or pull requests

1 participant