blacklight icon indicating copy to clipboard operation
blacklight copied to clipboard

add a proc mechanism to Blacklight::Configuration#property to allow deferred resolution of some default values

Open barmintor opened this issue 2 years ago • 2 comments

  • if property default values are not defined under lib, they may not be available until application is loaded, causing issues for downstream apps running generators
  • fixes #2705

barmintor avatar May 12 '22 18:05 barmintor

I'm not enamored of this mechanism, but... it works. Without something like this, I was left using nil for the default and overriding accessors, which appears to be the 7.x approach we want to move away from.

barmintor avatar May 12 '22 18:05 barmintor

Converting this to a draft as there may just need to be zeitwerk changes implemented in the plugins, see https://github.com/projectblacklight/blacklight_range_limit/pull/185

barmintor avatar May 13 '22 14:05 barmintor

Closed as was #2705

barmintor avatar Oct 05 '22 19:10 barmintor