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

Split sanitize and normalize to be separate operations #4267

Draft
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

janette
Copy link
Member

@janette janette commented Aug 30, 2024

21640

WIP: Fixes applying date formats when using data dictionaries and the streamed CSV download API

Describe your changes

We only want to sanitize expressions, not when adding fields to the query.

QA Steps

  • TBD

Checklist before requesting review

If any of these are left unchecked, please provide an explanation

  • I have updated or added tests to cover my code
  • I have updated or added documentation

@janette janette force-pushed the split-normalize-and-sanitize branch from f8d4c7e to 658bde6 Compare August 30, 2024 19:51
@janette janette changed the title Split off sanitize to a separate method Split sanitize and normalize to be separate operations Sep 3, 2024
@dmundra
Copy link
Contributor

dmundra commented Oct 14, 2024

@janette is the issue that the branch this is targeting is 'update-addDateExpressions' instead of '2.x'?

@dmundra
Copy link
Contributor

dmundra commented Oct 14, 2024

Your also might need to rebase this branch of 2.x

return $property;
}

private function sanitizeProperty(object $property) {
Copy link
Contributor

Choose a reason for hiding this comment

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

@janette I think splitting this function potentially causing the $alias error but I am not sure. It is one place to debug.

@janette janette force-pushed the split-normalize-and-sanitize branch from 658bde6 to 06d493a Compare October 15, 2024 01:50
@janette janette changed the base branch from update-addDateExpressions to 2.x October 15, 2024 01:51
@janette janette requested review from dafeder and dmundra and removed request for dmundra November 4, 2024 19:39
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.

2 participants