-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
featureNew functionality or improvementNew functionality or improvement
Milestone
Description
Hi again,
It will be great to get some transformation support i need to transform double numbers in fixed integer, any plan to give that opportunity ??
little snippet:
Joi.array().includes(Joi.object().keys({
latitude: Joi.number().required(),
longitude: Joi.number().required(),
altitude: Joi.number().optional(),
speed: Joi.number().optional(),
heading: Joi.number().optional(),
accuracy: Joi.number().optional(),
timestamp: Joi.number().integer().required().unit('milliseconds'),
valid: Joi.boolean().default(true)
})).min(1)I need to transform altitude / speed / heading / accuracy to fixed integers ... i dont want to validate only for integers, i want to perform number round ...
thks !!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew functionality or improvementNew functionality or improvement