Open akeelnazir opened 2 months ago
I found AllowClientUUIDs: true, flag in your source code, but it doesn't seem to work.
ex, err := entrest.NewExtension(&entrest.Config{
SpecFromPath: "../base-openapi.json",
Handler: entrest.HandlerStdlib,
WithTesting: true,
StrictMutate: true,
AllowClientUUIDs: true,
})
I also removed field.UUID("id", uuid.UUID{}).Default(uuid.New).Unique(),
from the pet schema def, but I'm still getting int16 column in my generates Postgres.
✨ Describe the feature you'd like
When specifying an id field of type UUID, it is unable to generate the oapi.
Cause
Error
🌧 Is your feature request related to a problem?
No response
🔎 Describe alternatives you've considered
NA
⚠ If implemented, do you think this feature will be a breaking change to users?
No
⚙ Additional context
No response
🤝 Requirements