Skip to content

fix: @IsMobilePhone(locale: string) missing strict mode and documentation #576

Closed

Description

@carlocorradini

Checking validatorjs documentation i can use @IsMobilePhone decorator with any as locale and strictMode enabled.
However in class-validator i can only set locale and none strictMode.
Moreover the documentation for this decorator is missing some part from validatorjs docs(any and strictMode):

validatorjs docs:

Untitled

class-validator docs:

Untitled

Is possible to fix this?
Thanks in advance

Activity

  1. vlapo commented on Apr 7, 2020

    @vlapo
    Contributor

    Sure. We can include this fix in 0.12.x. Hope in few weeks after #568 merge

  2. added
    type: fix
    on Apr 7, 2020
  3. lock commented on Apr 25, 2020

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  4. locked as resolved and limited conversation to collaborators on Apr 25, 2020
  5. added
    status: done/released
    on Aug 8, 2020
  6. changed the title [-]@IsMobilePhone(locale: string) missing strict mode and documentation[/-] [+]fix: @IsMobilePhone(locale: string) missing strict mode and documentation[/+] on Aug 8, 2020
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

    status: done/releasedtype: fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions