Skip to content

Passing Database reference into handlers #69

Open
@practicalli-johnny

Description

@practicalli-johnny

Practicalli:
keep the handlers clean by passing database connection to the helper functions
See banking on clojure

https://clojureverse.org/t/how-to-manage-database-connection-in-clojure/5067
https://stackoverflow.com/questions/19776462/passing-state-as-parameter-to-a-ring-handler

https://luminusweb.com/docs/database.html

The same approach is also done with component systems such as Integrant, Mount and Component

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions