kohesive / kovert

The invisible REST and web framework
MIT License
155 stars 10 forks source link

Kovert isn't respecting defaulted query params #33

Closed adambrown closed 8 years ago

adambrown commented 8 years ago

e.g.

/**
 *
 *  HTTP GET /path/thing/:thingid/subthing/subsubthings?size=50&forwardMarker=invoice_id
 *
 */
fun Context.listThingByThingidSubthingSubsubthing(thingid: String, size: Int = 50, forwardMarker: String? = null): Promise<WithScrolling<String, List<Thing>>, Exception> {

makes the rest client always provide size and forwardMarker params even though there are sensible defaults that could be used.

apatrida commented 8 years ago

fixed in 0.13.0 to be released in the next few hours.