CreateIndexes should check types of values within keys document

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If the user happens to pass a non-scalar value within the keys document (i.e. index specification), PHP may produce a notice for an array-to-string conversion when the library attempts to construct an index name. Depending on the user's configuration, this notice could be ignored. Considering validating that all values within keys are scalars (or more strictly, numbers and strings).

              Assignee:
              Unassigned
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: