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

typeCast config option is getting deleted/ignored #21

Open
AdriVanHoudt opened this issue Feb 4, 2020 · 0 comments
Open

typeCast config option is getting deleted/ignored #21

AdriVanHoudt opened this issue Feb 4, 2020 · 0 comments

Comments

@AdriVanHoudt
Copy link

AdriVanHoudt commented Feb 4, 2020

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.

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

No branches or pull requests

1 participant