Grails 3.0.1 - how to configure grails.gorm.default.constraints in application.yml

后端 未结 1 1137
误落风尘
误落风尘 2021-01-18 04:13

I took the old configuration:

grails.gorm.default.constraints = {
    \'*\' (nullable: true, blank: true)
}

... and put it in the app

相关标签:
1条回答
  • 2021-01-18 04:50

    application.groovy is the place to do that. Groovy code in a .yml config file is invalid and not supported.

    0 讨论(0)
提交回复
热议问题