-
Notifications
You must be signed in to change notification settings - Fork 196
Conversation
Maybe renaming it to |
Can you provide some use cases? DI should obviate the need to do that, and
|
@bakura10 I can rename to that of course if it accepted |
How is generateRaw() different from generateUrl()? This may be an
|
generateRaw() generate the route without url encoding. Add addiitonal method in interface for what ? |
I'm thinking we should assume that router implementations return unencoded (raw) URIs, and that users should encode manually, after retrieval, when necessary. I'd argue that this path would be best, as the original data is typically easy to get, and applying an escaping mechanism to it after-the-fact based on context would allow keeping the encoding functionality completely out of the As such, I'd argue that we need a patch that does the following:
Does that seem reasonable @samsonasik ? |
my initial idea about it is not about specific |
In that case, you're depending on a specific, concrete adapter, and you
|
ok ;) |
I think this may be useful to add
getRouter()
so in real app we can use more function from it's router property when needed.