luckyframework / lucky

A full-featured Crystal web framework that catches bugs for you, runs incredibly fast, and helps you write code that lasts.
https://luckyframework.org
MIT License
2.57k stars 156 forks source link

Fixing references to habitat settings #1686

Closed jwoertink closed 2 years ago

jwoertink commented 2 years ago

Purpose

Fixes #1685

Description

When a module creates a Habitat config, it will create both an instance and a class method called settings. If you include more than 1 module with habitat settings, then the last included one ends up overriding the previous ones.

This fixes the two areas where these could collide.

Checklist