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

URL starting with {param}- #257

Open
theo744 opened this issue Jul 25, 2019 · 2 comments
Open

URL starting with {param}- #257

theo744 opened this issue Jul 25, 2019 · 2 comments

Comments

@theo744
Copy link

theo744 commented Jul 25, 2019

Hi,
I have an issue with an url starting with {param}-

For example : https://domain.app/7-something
I can't catch it with @deeplink("https://domain.app/{id}-something")

If I change the URL to:
https://domain.app/7/something
I can catch it with @deeplink("https://domain.app/{id}/something")

Why is that ?

Theo

@MichaelEvans
Copy link
Contributor

Would it be possible to make the entire argument the id? For example:

@Deeplink("https://domain.app/{id}")

And then parse the id for the part you're interested in before the -something?

@theo744
Copy link
Author

theo744 commented Feb 28, 2020

Yes, it would probably work. The problem is that I already have other links handled successfully with @deeplink, so I would have to parse all my other links with the global {id}, that's quiet a lot of work...

Do you know what is the matter with {id}-something ? It seems related to the '-' character but I don't know...

Théo

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

2 participants