elmish / urlParser

Turn URLs into statically-typed data
https://elmish.github.io/urlParser
Other
7 stars 5 forks source link

parseParams doesn't handle empty or null case #23

Closed OnurGumus closed 1 year ago

OnurGumus commented 1 year ago

Description

I am seeing this line throws when used via Navigation when query string is null. It assumes queryString has some value

https://github.com/elmish/urlParser/blob/014ab69bd9cb13cbfa743d2625a658460641b7f0/src/parser.fs#L357

It just looks wrong to me.

Related information

et1975 commented 1 year ago

Released the changes in 1.0.1.