Right now the :not-found option expects a symbol that points to a Ring handler. This won't work if my response depends on some options set when starting the server. I would like to either (1) change this option to take in the server options and return a Ring handler or (2) add a new option that takes the server options and returns a Ring handler.
Option (1) will be a breaking change and option (2) would not. I have some preliminary code written that will solve this issue. However, the name for this option is not yet determined due to the aforementioned reasons.
Right now the
:not-foundoption expects a symbol that points to a Ring handler. This won't work if my response depends on some options set when starting the server. I would like to either (1) change this option to take in the server options and return a Ring handler or (2) add a new option that takes the server options and returns a Ring handler.Option (1) will be a breaking change and option (2) would not. I have some preliminary code written that will solve this issue. However, the name for this option is not yet determined due to the aforementioned reasons.