Skip to content

typeCast config option is getting deleted/ignored #21

@AdriVanHoudt

Description

@AdriVanHoudt
const mconfig = {
	config: {
		dev: {
			driver: 'mysql',
			host: '', db: '', ....,
			typeCast: (field, next) => {} // this is getting removed or ignored
		},
		'sql-file': true
    },
    env: 'dev'
}

Migrate.getInstance(true, mConfig, callback);

I tried to find where or why but couldn't find it


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions