fix: Warning logged when setting option databaseOptions.disableIndexFieldValidation (#9880)
This commit is contained in:
@@ -343,7 +343,7 @@ export interface ParseServerOptions {
|
||||
:DEFAULT: [] */
|
||||
rateLimit: ?(RateLimitOptions[]);
|
||||
/* Options to customize the request context using inversion of control/dependency injection.*/
|
||||
requestContextMiddleware: ?((req: any, res: any, next: any) => void);
|
||||
requestContextMiddleware: ?(req: any, res: any, next: any) => void;
|
||||
}
|
||||
|
||||
export interface RateLimitOptions {
|
||||
@@ -629,6 +629,8 @@ export interface DatabaseOptions {
|
||||
autoSelectFamily: ?boolean;
|
||||
/* The MongoDB driver option to specify the amount of time in milliseconds to wait for a connection attempt to finish before trying the next address when using the autoSelectFamily option. If set to a positive integer less than 10, the value 10 is used instead. */
|
||||
autoSelectFamilyAttemptTimeout: ?number;
|
||||
/* Set to `true` to disable validation of index fields. When disabled, indexes can be created even if the fields do not exist in the schema. This can be useful when creating indexes on fields that will be added later. */
|
||||
disableIndexFieldValidation: ?boolean;
|
||||
}
|
||||
|
||||
export interface AuthAdapter {
|
||||
|
||||
Reference in New Issue
Block a user