Pranaykarvi commented on code in PR #6400:
URL: https://github.com/apache/gravitino/pull/6400#discussion_r1952078519
##########
web/web/src/app/metalakes/metalake/rightContent/CreateFilesetDialog.js:
##########
@@ -72,7 +73,13 @@ const schema = yup.object().shape({
propItems: yup.array().of(
yup.object().shape({
required: yup.boolean(),
- key: yup.string().required(),
+ key: yup
+ .string()
+ .required()
+ .matches(
+ /^[a-zA-Z_][a-zA-Z0-9_-]*$/,
+ 'Valid key must start with a letter/underscore, followed by
alphanumeric characters, underscores, hyphens, or dots.'
+ ),
Review Comment:
> this change not necessary
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]