pydantic-core icon indicating copy to clipboard operation
pydantic-core copied to clipboard

name for constrained string validators should chanage

Open samuelcolvin opened this issue 2 years ago • 1 comments

To just str if the constraints are from config, then if they're local maybe to str[max_len=3] etc.?

samuelcolvin avatar Feb 07 '23 21:02 samuelcolvin

Following discussion in https://github.com/pydantic/pydantic-core/pull/517 i.e. https://github.com/pydantic/pydantic-core/pull/517#issuecomment-1498865153 this looks to be deferred for now.

zanieb avatar Apr 23 '23 19:04 zanieb

Going to close for now, looks to not be a high priority. String constraint ordering seems to be of more value at this point.

sydney-runkle avatar Aug 16 '24 16:08 sydney-runkle