Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use IGNORE_IF_DEFAULT_VALUE for URL fields in update requests #124

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

oliversun9
Copy link
Contributor

@oliversun9 oliversun9 commented Jul 9, 2024

This PR makes it possible to unset the URL of a organization/module, which has always been the intended behavior but wasn't possible because protovalidate would reject the empty string for not being a valid URL.

Changes all occurrences of ignore_empty = true to ignore = IGNORE_IF_DEFAULT_VALUE, see docs on ignore.

@oliversun9 oliversun9 requested a review from nicksnyder as a code owner July 9, 2024 17:38
Copy link

github-actions bot commented Jul 9, 2024

The latest Buf updates on your PR.

NameStatus
build✅ passed
lint✅ passed
format✅ passed
breaking✅ passed

@oliversun9 oliversun9 merged commit 2eb1e07 into main Jul 10, 2024
7 checks passed
@oliversun9 oliversun9 deleted the osun/use-ignore-if-default-value branch July 10, 2024 16:06
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