Skip to content

Conversation

@smaye81
Copy link
Contributor

@smaye81 smaye81 commented Apr 3, 2025

This ports the validation logic from protovalidate-go for validating URIs and URI references.

@smaye81 smaye81 changed the base branch from main to sayers/validation_upgrades April 3, 2025 19:53
startsWith(),
endsWith(),
contains(),
celFormat(),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Renamed all these to stay consistent. I can un-rename them if it's confusing.

@smaye81 smaye81 requested review from pkwarren and timostamm April 3, 2025 19:55
Copy link
Member

@timostamm timostamm left a comment

Choose a reason for hiding this comment

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

There's a new .DS_Store file that should be removed. The CI failure seems to be just a formatting issue.

Steve Ayers added 2 commits April 4, 2025 10:38
smaye81 pushed a commit to bufbuild/protovalidate-python that referenced this pull request Apr 4, 2025
- Avoid ambiguity in "string contains"
- Don't quote identifiers with backticks
- KISS with "Parses the rule"

Context:
bufbuild/protovalidate-java#257 (comment)
Also see: bufbuild/protovalidate-go#208
Copy link
Member

@timostamm timostamm left a comment

Choose a reason for hiding this comment

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

Renamed all these to stay consistent. I can un-rename them if it's confusing.

I'm not sure that names and organization are ideal, but I don't have an idea that's decisively better.

@smaye81 smaye81 merged commit f98b4b9 into sayers/validation_upgrades Apr 9, 2025
3 checks passed
@smaye81 smaye81 deleted the sayers/is_uri branch April 9, 2025 14:34
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