You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, add_route merges consequenced add_get(path, handler) and add_post(path, handler) calls but doesn't do it if a resource for other path is pushed in between calls.
Also, it doesn't merge the same resource but under different names.
Let's not change behavior but raise a user warning for such cases, most likely it is the result of silly mistake/misunderstanding.
The text was updated successfully, but these errors were encountered:
What is the reason for merging only consequenced calls? I mean, if you have to detect non-consecutive calls or the same resource under different names to send a warning, why not just merge all cases?
Now,
add_route
merges consequencedadd_get(path, handler)
andadd_post(path, handler)
calls but doesn't do it if a resource for other path is pushed in between calls.Also, it doesn't merge the same resource but under different names.
Let's not change behavior but raise a user warning for such cases, most likely it is the result of silly mistake/misunderstanding.
The text was updated successfully, but these errors were encountered: