Control for query parameters.

porcelain_input_query(..., .parameters = list(...))

Arguments

...

Named arguments representing accepted parameters. The value of each must be a type.

.parameters

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.

Examples

porcelain::porcelain_input_query(number = "integer")
#> <porcelain_input_collection>
#>   Public:
#>     clone: function (deep = FALSE) 
#>     initialize: function (names, types, where) 
#>     inputs: list