Skip to content

Add a type override function for domain types.#103

Open
borissmidt wants to merge 1 commit into
sqlc-dev:mainfrom
borissmidt:add-type-overrides
Open

Add a type override function for domain types.#103
borissmidt wants to merge 1 commit into
sqlc-dev:mainfrom
borissmidt:add-type-overrides

Conversation

@borissmidt

Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant