Skip to content

Conversation

huangyucaigit
Copy link

In Grails 6+, getProperty() returns only String. This causes grails.redis config to always return empty map.
This PR replaces getProperty() with get('grails.redis', Map, [:]) to correctly retrieve Redis config as Map.
(RedisGrailsPlugin 获取 grails.redis 总是返回[:],因为升级后grails 的getProperty只支持返回string)。

…y with newer Grails versions

备注:RedisGrailsPlugin 获取 grails.redis 总是返回[:],因为升级后的grails中getProperty只支持返回string。
@jdaugherty jdaugherty merged commit 5d6bb86 into apache:5.0.x Sep 3, 2025
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants