contrib
contrib copied to clipboard
entproto: when parsing fails, show detailed error
fix https://github.com/ent/ent/issues/3795
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"
I'm sorry, it was an accident🤣. I will remove it
@giautm @rotemtam Can we get a review?