Skip to content

Conversation

@supersven
Copy link
Contributor

@supersven supersven commented May 5, 2025

Actually, this contains only a small left-over refactoring.

Ticket: https://wearezeta.atlassian.net/browse/WPB-17032

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d (only internal changes)
  • Read and follow the PR guidelines

@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label May 5, 2025
I had only one usage.
@supersven supersven force-pushed the sventennie/WPB-17032_add_webapp_url_to_email_domain_reg_3 branch from 9009297 to 7b16a36 Compare May 5, 2025 15:57
@supersven supersven marked this pull request as ready for review May 5, 2025 15:58
@supersven supersven requested a review from a team as a code owner May 5, 2025 15:58
(,)
<$> fst .= backendUrlSchema
<$> fst .= field "backend_url" schema
-- API versions <= V9 ignore the WebApp URL
Copy link
Contributor

Choose a reason for hiding this comment

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

is this comment still correct? (was it ever? shouldn't it be <9?)

Copy link
Contributor

Choose a reason for hiding this comment

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

what is the point of this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

is this comment still correct? (was it ever? shouldn't it be <9?)

Thanks for spotting this! 👍 You're right it should be <=V8 or <V9 (which are equal constraints.)

The change itself is just inlining a public function which is only used here. There's no second call site, thus we don't need add this indirection.

@supersven supersven merged commit f726892 into develop May 12, 2025
8 checks passed
@supersven supersven deleted the sventennie/WPB-17032_add_webapp_url_to_email_domain_reg_3 branch May 12, 2025 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants