Control for query parameters.
porcelain_input_query(..., .parameters = list(...))
Named arguments representing accepted parameters. The value of each must be a type.
A list of named parameters to accept, instead
of using ...
- this interface is considerably easier to
program against if building an API programmatically, avoiding
the use of do.call
.
porcelain::porcelain_input_query(number = "integer")
#> <porcelain_input_collection>
#> Public:
#> clone: function (deep = FALSE)
#> initialize: function (names, types, where)
#> inputs: list