[GODRIVER-3077] Anonymous Embed struct field should be flattened default Created: 22/Dec/23  Updated: 08/Jan/24

Status: Investigating
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0.0

Type: New Feature Priority: Unknown
Reporter: 胜宏 舒 Assignee: Matt Dale
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
backported by GODRIVER-391 Flatten anonymous struct Closed

 Description   

type User struct {
  Model
  Name string
} 

Model field should be flattened default, i know there is a inline tag, but we should keep the same sense with golang embed, don't trouble developers.



 Comments   
Comment by PM Bot [ 22/Dec/23 ]

Hi shushenghong@gmail.com, thank you for reporting this issue! The team will look into it and get back to you soon.

Generated at Thu Feb 08 08:40:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.