Skip to content

validation for fields with UUID type is run against parameters for LIKE queries #4198

Closed

Description

@nemophrost

MyModel.findAll({ where: { id: { $like: "12345678%" } } })

results in a validation error: "12345678%" is not a valid uuid

Activity

  1. added
    type: bug
    regression
    on Jul 28, 2015
  2. BridgeAR commented on Aug 10, 2015

    @BridgeAR
    Contributor

    This should probably be fixed by #4186

  3. janmeier commented on Aug 11, 2015

    @janmeier
    Member

    @BridgeAR, how will datatypes refactoring fix this? :-)

    I'm thinking more along the lines of restricting some validations to only run on create, and making it possible to completely disable them

  4. janmeier commented on Aug 13, 2015

    @janmeier
    Member

    Merged into #4314

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressiontype: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions