-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Repl 2020-07-27
If the client passed apiVersion, and its value is not a string, reply with an error.
If the client passed apiVersion, and its value is not "1", reply with APIVersionError. (Hardcode "1" for now. Revisit this code when we support "2".)
If the client passed apiStrict and it is not a boolean, reply with an error. Same for apiDeprecationErrors.
Update the JSTest that we started in SERVER-48866 to test that the server enforces these rules.
- depends on
-
SERVER-48864 New error codes for Versioned API
- Closed
- duplicates
-
SERVER-48866 Parse Versioned API parameters
- Closed