walterwanderley / sqlc-grpc

Create a gRPC server from code generated by sqlc
MIT License
127 stars 13 forks source link

Proto reflect #1

Closed gedw99 closed 3 years ago

gedw99 commented 3 years ago

This is really a nice database first approach .

do you think it’s possible to extend it to use proto reflect ?

It would essentially be pulling the dB meta data and holding it in memory and then using reflection at run time to provide a GRPC service

walterwanderley commented 3 years ago

I agree that would be cool, but I want to keep the developer under control of the executed queries (basically for performance reasons).