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 find one cant have multiple parameters when there is a primary key #5452

Commits on Mar 6, 2020

  1. Fix findOne with PK as one of the params

    Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
    Pierre Noël committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    c0d9dd2 View commit details
    Browse the repository at this point in the history
  2. handle unexpected params from koa-router

    Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
    
    Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
    Pierre Noël committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    b5ec9cb View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2020

  1. small refacto of findOne + fix deleteMany of connector-mongoose

    Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
    
    Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
    Pierre Noël committed Mar 9, 2020
    Configuration menu
    Copy the full SHA
    b5f9795 View commit details
    Browse the repository at this point in the history
  2. return null instead of promise

    Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
    Pierre Noël committed Mar 9, 2020
    Configuration menu
    Copy the full SHA
    a1774db View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2020

  1. add test for replaceIdByPrimaryKey

    Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
    Pierre Noël committed Mar 10, 2020
    Configuration menu
    Copy the full SHA
    15f4ae6 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2020

  1. Configuration menu
    Copy the full SHA
    9ab43d2 View commit details
    Browse the repository at this point in the history