Hi,
While bumping the grape gem from 3.3 to 4.0 in our app, we noticed that inheritable_setting is no longer exposed.
AFAICT, Grape 4.0 no longer exposes any mechanism to let users define inheritable namespace settings? Is that correct? Is that intended?
There's a very unclear paragraph in UPGRADING.md, and the source code mentions "the nesting behaviour DSL::Settings#namespace_setting is specified to have", but I still have no clue what that behavior actually is.
For now we're working around this issue by manually traversing the parent chain. While it's only a few lines of code, it is kind of annoying that we have to do this... particularly when Grape used to do it.
Hi,
While bumping the grape gem from 3.3 to 4.0 in our app, we noticed that
inheritable_settingis no longer exposed.AFAICT, Grape 4.0 no longer exposes any mechanism to let users define inheritable namespace settings? Is that correct? Is that intended?
There's a very unclear paragraph in
UPGRADING.md, and the source code mentions "the nesting behaviour DSL::Settings#namespace_setting is specified to have", but I still have no clue what that behavior actually is.For now we're working around this issue by manually traversing the parent chain. While it's only a few lines of code, it is kind of annoying that we have to do this... particularly when Grape used to do it.