Skip to content

Strict Mode

Choose a tag to compare

@young-steveo young-steveo released this 12 Feb 22:16
· 255 commits to master since this release

New global setting Bottle.config.strict. When set to true, Bottle will throw an error when attempting to resolve an undefined service during automatic injection.

note: Accessing an undefined service from the container directly (e.g. bottle.container.Service) will not throw an error.