Skip to content
#

mapping

Here are 1,517 public repositories matching this topic...

incaseoftrouble
incaseoftrouble commented Jun 12, 2021

For unmappedSourcePolicy = ReportingPolicy.WARN or above, one can use @BeanMapping(ignoreUnmappedSourceProperties = {...}) to declare source properties which are omitted intentionally. However, an equally simple dual option is missing. I'd suggest having a ignoredSourcePolicy configuration which warns / fails if an unknown source property is missing. This is useful for keeping this list "in

shyandsy
shyandsy commented May 2, 2021

数据表自带prefix,生成model struct和文件名也都带上了prefix,有办法去掉么

比如我所有数据表都有prefix = xxxproject_, 用户表为
xxxproject_customer,生成的model就是

type XxxprojectCustomer struct{
}

对应文件是xxxproject_customer.go

我已经在config.yaml里面制定了table_prefix = “xxxproject_”

editor
orangemug
orangemug commented Jan 30, 2020

'react-autocomplete' (https://github.com/reactjs/react-autocomplete) is no longer maintained and causing warnings

react-dom.development.js:12357 Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

  • Move code with side effects to componentDidMount, and set initial state in the constructor.
  • R

Improve this page

Add a description, image, and links to the mapping topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mapping topic, visit your repo's landing page and select "manage topics."

Learn more