Skip to content

Conversation

ArtemHoruzhenko
Copy link
Collaborator

No description provided.

const dataSchema = Joi.object({
index: Joi.string().allow('').required(),
type: Joi.string().valid('hash', 'json').required(),
// prefixes: Joi.array().items(Joi.string()).allow(null),
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need this commented code?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes. This is part of our input data schema but unfortunately we don't have mechanism to validate RedisStrings. This is something that we must implement in the future

@ArtemHoruzhenko ArtemHoruzhenko merged commit d36f4f3 into feature/RI-2831_browser-redisearch Oct 31, 2022
@ArtemHoruzhenko ArtemHoruzhenko deleted the be/feature/RI-2831_browser-redisearch branch October 31, 2022 13:03
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.

2 participants