unrelated to the above: is this the correct way t...
# http4k
n
unrelated to the above: is this the correct way to conditionally add a filter in between other filters? in this case, if the DEV flag is set to true, i want to set up unsafe cors for testing purposes.
d
Not as such, although there is a Filter.NoOp that you can use as an alternate (so you always have a fuller and just switch on the book)
n
Can filters be nested somehow?
Or do I just have to do this?
d
second one is preferred
n
Sweet, thank you!