Allow saving pagination data in queries
This commit is contained in:
parent
51d5885ec0
commit
f7759f6791
|
@ -20,6 +20,7 @@ exports.queryValidation = () => {
|
||||||
schema: Joi.object({}).required().unknown(true),
|
schema: Joi.object({}).required().unknown(true),
|
||||||
transformer: Joi.string().optional(),
|
transformer: Joi.string().optional(),
|
||||||
flags: Joi.object().optional(),
|
flags: Joi.object().optional(),
|
||||||
|
pagination: Joi.object().optional(),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue