nestjs-bufconnect
nestjs-bufconnect copied to clipboard
Context and Error Handling
Hi Patrick, nice work!
I have your code working, but running into a few missing features:
I need access to the Buf Context for accessing MetaData in the Buf Method handlers https://connectrpc.com/docs/node/implementing-services#context Have you foreseen this or should we add this?
I want to use the Buf Error definitions, but they do not map when using them https://connectrpc.com/docs/node/implementing-services#errors Have u tested/used them before?
Thanks! Steven
Hi @stevenceuppens, I should be circling back around to this project soon as I have a need for it. I don't think it would be too difficult to expose that metadata. I'll have to review the error handling as well, so thank you for bringing this to my attention. If you feel like you want to take a crack at it, I would more than happily accept a PR.