Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-3077

Anonymous Embed struct field should be flattened default

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • 2.1.0
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

            Assignee:
            matt.dale@mongodb.com Matt Dale
            Reporter:
            shushenghong@gmail.com 胜宏 舒
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: