Missing options in query index management

Description

Missing options for QueryIndexManager and CollectionQueryIndexManager operations:

  • scope_name and collection_name missing from options for get_all_inexes, build_deferred_indexes and watch_indexes. These options are deprecated, show an appropriate warning when they are used in the QueryIndexManager. An InvalidArgument error should be raised when they are used in the CollectionQueryIndexManager

  • index_name for custom index name missing from create_primary_index

Also, ArgumentError's need to be replaced with Error::InvalidArgument errors when scope_name and collection_name are used in the CollectionQueryIndexManager

Environment

None

Release Notes Description

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Components

Priority

Instabug

Open Instabug

Sentry

Zendesk Support

Created April 18, 2023 at 2:29 PM
Updated April 21, 2023 at 10:03 AM
Resolved April 21, 2023 at 10:03 AM
Instabug