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

fix: resolve sorting bug for several mongo vesions with typeorm migra #5121

Merged
merged 1 commit into from Nov 22, 2019
Merged

fix: resolve sorting bug for several mongo vesions with typeorm migra #5121

merged 1 commit into from Nov 22, 2019

Conversation

ghost
Copy link

@ghost ghost commented Nov 21, 2019

fix: resolve sorting bug for several mongo versions with typeorm migration

refactored the sort string-valued key parameter to an object in order to avoid the MongoError: Can't canonicalize query: BadValue bad order array [2] error when running migration

Closes #5115

@pleerock
Copy link
Member

Thank you

@ghost ghost deleted the mongo-migration-sort-fix branch November 22, 2019 09:39
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

Successfully merging this pull request may close these issues.

MongoError: Can't canonicalize query: BadValue bad order array [2] when running migration from within typeorm
1 participant