◐ Shell
clean mode source ↗

Add a type override function for domain types. by borissmidt · Pull Request #103 · sqlc-dev/sqlc-gen-python

Dear,

Since currently domain types are generated as Any in the models,
And since we don't get domain types in the protobuf protocol communication,
I propose to allow for a 'domain override' in the meantime, so we can type Any type types with a custom type.

I've openened an issue in sqlc to add the domain data to the protocol, so it could later on be fixed that some of these models are autogenerated.
sqlc-dev/sqlc#4483