String with uuid
format shoud generate an UUID
#817
RockyMM
started this conversation in
Feature request
Replies: 1 comment
-
I worry this might create a bug in any clients which are expecting a UUID version not supported by the Python standard library (e.g., uuid7 which is increasingly used for database primary keys). I wonder if we should only attempt to coerce formats which indicate the version of uuid? We could also fall back to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
It would be safer to generate
UUID
instances instead ofstr
instances if the property is defined as a string with a format uuid.Describe the solution you'd like
At the moment the property that is defined as:
is generated with type
str
. I would like such property to be generated with the typeUUID
.Beta Was this translation helpful? Give feedback.
All reactions