contrib icon indicating copy to clipboard operation
contrib copied to clipboard

entproto: when parsing fails, show detailed error

Open lazychanger opened this issue 2 years ago • 3 comments

fix https://github.com/ent/ent/issues/3795

lazychanger avatar Oct 18 '23 10:10 lazychanger

old entproto: failed generating protos: entproto: failed parsing ent graph: proto: message field "entpb.Corporation.servers" cannot resolve type: "*.Server" not found

now entproto: failed generating protos: entproto: failed parsing ent graph: entproto: default value for Enum pbfield "original_type" is "ip_hash", but the proto annotation pbfield 0 is "unspecified"

lazychanger avatar Oct 18 '23 10:10 lazychanger

I'm sorry, it was an accident🤣. I will remove it

lazychanger avatar Oct 23 '23 01:10 lazychanger

@giautm @rotemtam Can we get a review?

process0 avatar Oct 19 '24 19:10 process0