goparrot/geocoder

The length limit of the address parameter is too strict

Opened this issue · 0 comments

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