lift / lift/framework

Think about reconceiving boot as a (LiftRules)=>LiftRules function

Open
#1,892 1 comment 1 reaction 0 assignees View on GitHub
Lift5
Dominant language
Scala
Stars
1.3k
Forks
275
PR merge metrics
No merged PRs in 30d

Description

More thoughts in [this ML thread](https://groups.google.com/forum/#!topic/liftweb/-RQdaEkDCjM).

Basic idea is that boot goes from being a no-arg function that does mutable setup, to being a function that takes an immutable `LiftRules` parameter and updates its values to a final immutable `LiftRules` that is returned and then installed as the final rules state. State mutability would be captured in things like `FactoryMaker`s in this conception, while most values would simply be immutable.

The transition here would be interesting, and this may push this into being something we should do for a hypothetical Lift 4, potentially.

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked ML thread, then inspect the boot entry point and LiftRules implementation to understand how mutable setup is currently installed. The proposal mentions FactoryMakers and a final immutable LiftRules value, but it does not define specific files, tests, or acceptance criteria; completion would require an agreed design for a future Lift 4 transition.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.