Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grails 中集成 bean-searcher 注意事项 #26

Open
LYPgithub-ceo opened this issue Mar 12, 2022 · 1 comment
Open

Grails 中集成 bean-searcher 注意事项 #26

LYPgithub-ceo opened this issue Mar 12, 2022 · 1 comment
Labels

Comments

@LYPgithub-ceo
Copy link

grails 5.1.2如何集成bean-searcher
grom如何在子项目中共享

@troyzhxu
Copy link
Owner

troyzhxu commented Mar 17, 2022

1、直接添加 最新版本的 bean-searcher-boot-starter 依赖就 集成好了
2、如果希望 Bean Searcher 可以复用 Grails 的 domain,需要在 application.yml 中添加一下配置(因为 Grails 会在运行时为 domain 添加一个属性,这里需要将它忽略):

bean-searcher:
    sql:
        default-mapping:
            ignore-fields: org_grails_datastore_gorm_GormValidateable__errors

@troyzhxu troyzhxu added the Q&A label Mar 17, 2022
@troyzhxu troyzhxu changed the title 如何集成bean-searcher Grails 中集成 bean-searcher 注意事项 May 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants