Skip to content

STSMACOM-771: Use escapeCqlValueAllowAsterisk instead of escapeCqlValue to avoid escaping the asterisk.#1382

Draft
Dmytro-Melnyshyn wants to merge 1 commit into
mainfrom
STSMACOM-771
Draft

STSMACOM-771: Use escapeCqlValueAllowAsterisk instead of escapeCqlValue to avoid escaping the asterisk.#1382
Dmytro-Melnyshyn wants to merge 1 commit into
mainfrom
STSMACOM-771

Conversation

@Dmytro-Melnyshyn
Copy link
Copy Markdown
Contributor

@Dmytro-Melnyshyn Dmytro-Melnyshyn commented Jul 24, 2023

Description

The asterisk has recently been escaped in escapeCqlValue stripes-util/pull/69.
The suggested solution is to create a separate escapeCqlValueAllowAsterisk function to support the asterisk.

Related PRs

stripes-util/pull/73

Issue

STSMACOM-771

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 24, 2023

Jest Unit Test Statistics

0 tests  ±0   0 ✔️ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ±0 

Results for commit 83f324b. ± Comparison against base commit 3ccf551.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 24, 2023

BigTest Unit Test Statistics

    1 files  ±0      1 suites  ±0   16s ⏱️ +3s
431 tests ±0  400 ✔️ ±0  31 💤 ±0  0 ±0 
433 runs  ±0  402 ✔️ ±0  31 💤 ±0  0 ±0 

Results for commit 83f324b. ± Comparison against base commit 3ccf551.

♻️ This comment has been updated with latest results.

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@zburke
Copy link
Copy Markdown
Member

zburke commented Jul 25, 2023

I've put this on hold by moving it to "draft" while we decide how to handle the changes originally implemented folio-org/stripes-util/pull/69, but rolled back folio-org/stripes-util/pull/74.

}

const escapeFx = config.escape ? escapeCqlValue : (s) => (s);
const escapeFx = config.escape ? escapeCqlValueAllowAsterisk : (s) => (s);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please adjust the @configOrEscape comment accordingly.

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