Is it a top-level function? For some reason, IntelliJ doesn’t like to auto import top-level functions. The Http4k library made the decision to use objects and override the invoke operator to overcome this issue.
Is it a top-level function? For some reason, IntelliJ doesn’t like to auto import top-level functions. The Http4k library made the decision to use objects and override the invoke operator to overcome this issue.