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 - Prevent field alias conflicts. #17109

Merged
merged 1 commit into from
Apr 20, 2020

Conversation

colemanw
Copy link
Member

Overview

Improves APIv4 field alias validation.

Technical Details

Do not allow regular fields to be aliased - only expressions.
Prevent an alias from using the same name as an existing field.

Comments

Should prevent a lot of edge case bugs.

Do not allow regular fields to be aliased - only expressions.
Prevent an alias from using the same name as an existing field.
@civibot
Copy link

civibot bot commented Apr 20, 2020

(Standard links)

@eileenmcnaughton
Copy link
Contributor

We are still merging apiv4 changes fairly aggressively due to it still evolving & the high test cover being our main criteria

@eileenmcnaughton eileenmcnaughton merged commit b31540f into civicrm:master Apr 20, 2020
@eileenmcnaughton eileenmcnaughton deleted the noAlias branch April 20, 2020 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants