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: calling EntityManager.insert() with an empty array of entities #5745

Merged
merged 1 commit into from May 16, 2020
Merged

fix: calling EntityManager.insert() with an empty array of entities #5745

merged 1 commit into from May 16, 2020

Commits on Mar 26, 2020

  1. fix: calling EntityManager.insert() with an empty array of entities

    As described in issue #5734, the current behaviour seems like an oversight and inconsistent with save() and remove() which already have this handled as a special case.
    
    Test Plan: npm test, and more specifically npm test -- --grep='#5734'
    
    Closes: #5734
    Lovro Puzar committed Mar 26, 2020
    Copy the full SHA
    a22419e View commit details
    Browse the repository at this point in the history