Warn about attempts to define text_search scope (and others?)

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 8.1.0, 8.0.3
    • Affects Version/s: None
    • Component/s: Query
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      In https://jira.mongodb.org/browse/MONGOID-4624 the user attempts to define a scope called `text_search`. Mongoid has a built in method that's called that, and this method is invoked regardless of whether a scope called `text_search` is defined. We should warn that the user is defining a scope with this name because it won't be used.

              Assignee:
              Neil Shweky (Inactive)
              Reporter:
              Oleg Pudeyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: