baraja-core/structured-api

Add support for boolean parameters in GET

sitole opened this issue · 1 comments

Add native support for boolean parameters. Support 1/0 and true/false as boolean.

/api/v1/articles/?onlyVisible=false handled by actionDefault(bool $onlyVisible)
parameters $onlyVisible is true (string converted to bool) but should be false.

cc @janbarasek

@sitole Implemented, thanks.

Source: 97d3d86