Explore whether database connections can be lazily created

Created on 15 April 2024, 5 months ago

Problem/Motivation

In 📌 Lazily inject the database connection into DbLog Active we propose lazily injecting the Connection object into DbLog so the database connection is only initialized when we actually have something to log.

But what if this happened automatically for all connections? Can we continue to inject Connection into anything, but then ensure that the connection itself is only initialized when we want to actually perform a database query?

Steps to reproduce

Proposed resolution

Remaining tasks

Figure out what changes to make in order for this to happen.

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component
Database 

Last updated less than a minute ago

  • Maintained by
  • 🇳🇱Netherlands @daffie
Created by

🇬🇧United Kingdom longwave UK

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024