mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
entc: improve generated comments for edges and fields (#2632)
* replace default field comment with user comment if defined * use comments defined on edges in generated entities * add docs for comment method on edges and fields * update integration to reflect above changes
This commit is contained in:
@@ -19,7 +19,6 @@ type User struct {
|
||||
config `json:"-"`
|
||||
// ID of the ent.
|
||||
ID int `json:"id,omitempty"`
|
||||
// Version holds the value of the "version" field.
|
||||
// Unix time of when the latest update occurred
|
||||
Version int64 `json:"version,omitempty"`
|
||||
// Status holds the value of the "status" field.
|
||||
|
||||
Reference in New Issue
Block a user