Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-38327

IDL does not support optional types with validators

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.7
    • Affects Version/s: None
    • Component/s: IDL
    • None
    • Fully Compatible
    • ALL
    • Security 2018-12-17

      If optional fields have a validator, they either fail to compile or abort at runtime when encountering boost::none.

      esha.maharishi discovered this issue.

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: