grncdr/uri-template — Issue #1: Inconsistent data types returned
Author: jvinet
Created: 2011-11-21 20:03:52+00:00
State: open

If I have a route "/endpoint/{thingy}/abc/{stuff}" and I omit {thingy}, then uri-template returns the 'thingy' variable as an empty array.

However, if I do specify {thingy} on the commandline, then uri-template returns a string.

Can uri-template be made to return consistent data types, or omit 'thingy' from the variable object entirely if it is missing?

Thanks.