proto3 field without field presence cannot be null
24 views
Skip to first unread message
ramkumarka...@gmail.com
unread,
Aug 7, 2020, 3:13:26 AM8/7/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
Hi
I am implementing grpc on nodejs framework. I already have a database of my data and where some fields contain null values and also array fields also empty for some documents. So here is the problem while retrieving data from mongodb using grpc. It throwing an error proto3 field without field presence cannot be null). can anyone help me on how to fix this in proto file, not to throw error if fields are empty. Currently I'm using grpc package.