Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5427

Get rid of warnings generated in discriminator_key_spec

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 8.0.1
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible

      There are a lot of warnings generated from discriminator_key_spec:

      W, 2022-07-13T01:19:51.333063 #2379 WARN – : Overwriting existing field width in class Example1Rectangle.
      24
      W, 2022-07-13T01:19:51.333132 #2379 WARN – : Overwriting existing field height in class Example1Rectangle.
      25
      W, 2022-07-13T01:19:51.362655 #2379 WARN – : Overwriting existing field x in class Example1Shape.
      26
      W, 2022-07-13T01:19:51.362927 #2379 WARN – : Overwriting existing field y in class Example1Shape.

      This ticket is for making sure those warnings are not raised

            Assignee:
            neil.shweky@mongodb.com Neil Shweky (Inactive)
            Reporter:
            neil.shweky@mongodb.com Neil Shweky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: