Question: are query parameters always strings?
Answer: Yes, URL query string params are of type string. It's up to you to convert them to and from the type you need.