Skip to content

Conversation

albu-diku
Copy link
Contributor

@albu-diku albu-diku commented Jul 25, 2025

This change adds a small namespace to configuraton objects that behaves like a dictonary allowing objects to made available to e.g. request handlers.

Such functionality it needed to support templates without restorting to globals within the current system architecture; only congifuration objects are already threaded through most of the places this would need to be available with the correct semantics of an instance being created wherever it is needed.

Depends on: #328

@albu-diku albu-diku force-pushed the addition/configuration-context branch from 63aa38c to e984f18 Compare August 15, 2025 08:47
@albu-diku albu-diku force-pushed the addition/configuration-context branch from e984f18 to b2b89e3 Compare September 3, 2025 15:48
@albu-diku albu-diku force-pushed the addition/configuration-context branch from b2b89e3 to fcf4097 Compare September 12, 2025 11:34
This change adds a small namespace to configuraton objects that behaves
like a dictonary allowing objects to made available to e.g. request
handlers.

Opt to do this by specialising Configuration rather than changing it
directly. The rationale is to preserve a distinction between static
parts of the configuration of a dpeloyment, which do no change at
runtime, versus e.g. a users locale which would be different for
each request though consistent for its duration.

Such functionality it needed to support templates without restorting
to globals within the current system architecture; only congifuration
objects are already threaded through most of the places this would
need to be available with the correct semantics of an instance being
created wherever it is needed.
@albu-diku albu-diku force-pushed the addition/configuration-context branch from 2db321f to 3c31144 Compare September 13, 2025 14:31
@albu-diku
Copy link
Contributor Author

Affected by pre-existing lint issue: #335

Does not suffer any other issues of which I am aware.

@albu-diku albu-diku marked this pull request as draft October 14, 2025 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant