Skip to content

Conversation

@sushilshinde
Copy link
Contributor

No description provided.

Comment on lines +91 to +93
jobLocation: Joi.string().allow(null).allow(''),
jobTimezone: Joi.string().allow(null).allow(''),
currency: Joi.string().allow(null).allow(''),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sushilshinde This is fine, but we also have Joi.stringAllowEmpty rule defined here https://github.com/topcoder-platform/taas-es-processor/blob/dev/src/bootstrap.js#L25 which can be reused for consistency.

@sushilshinde sushilshinde merged commit 40b7758 into dev Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants