kadirahq / flow-router

Carefully Designed Client Side Router for Meteor
MIT License
1.09k stars 195 forks source link

FR : Add FlowRouter.getQueryParams() #588

Open jalik opened 8 years ago

jalik commented 8 years ago

As there is already a FlowRouter.current().queryParams, it could be handy to have such a method FlowRouter.getQueryParams(), we already have FlowRouter.getQueryParam(name) so it make sense to have the method that returns all query params.

It could be also a great idea in term of evolution if someday you decide to rename FlowRouter.current(), it won't break calls.

sunlee-newyork commented 7 years ago

+1