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

APIv4 - Clarify specProvider code #26349

Merged
merged 1 commit into from
May 26, 2023

Conversation

colemanw
Copy link
Member

Overview

Some not-well-documented code led to confusion that's been copy-pasted a couple times now. This removes the unnecessarily-pasted code and adds clarifying comments to the code which originally caused the confusion.

Before

Unnecessary conditionals which could potentially lead to subtle bugs.

After

That's better.

FYI @eileenmcnaughton @aydun

Some not-well-documented code led to confusion that's been copy-pasted a couple times now.
This removes the unnecessarily-pasted code and adds clarifying comments to the code which
originally caused the confusion.
@civibot
Copy link

civibot bot commented May 26, 2023

(Standard links)

@civibot civibot bot added the master label May 26, 2023
@eileenmcnaughton eileenmcnaughton merged commit 61b61c2 into civicrm:master May 26, 2023
@eileenmcnaughton eileenmcnaughton deleted the clarifySpec branch May 26, 2023 02:10
@aydun
Copy link
Contributor

aydun commented May 26, 2023

Thanks for clarifying!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants