Skip to content

The length limit of the address parameter is too strict #115

@Mini256

Description

@Mini256

Describe the bug

In GeocodeQuery, the constraints limit the parameter address length. In fact, many Chinese place names only need two words to describe.

For example, 杭州 means Hangzhou city, its length is only 2, but this is a valid address.

Maybe there are some place names in other languages also short.

@MinLength(5)

To Reproduce

// Example code here

Expected behavior

Environment:

  • Geocoder Version: x.y.z
  • Node version: x.y.z

Additional context/Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions