Skip to content

DTSPB-5206 use json lib not strings#3728

Merged
tom-saunders-cts merged 12 commits intomasterfrom
DTSPB-5206-use-json-lib-not-strings
Apr 16, 2026
Merged

DTSPB-5206 use json lib not strings#3728
tom-saunders-cts merged 12 commits intomasterfrom
DTSPB-5206-use-json-lib-not-strings

Conversation

@tom-saunders-cts
Copy link
Copy Markdown
Contributor

JIRA link (if applicable)

See DTSPB-5206

Change description

Adds a new implementation (controlled by a feature toggle) which uses a JSON library based approach to constructing the JSON query for the case matching handling. This solves the issues we have seen where inputs have names have characters which cause the output generated by the existing handling to be malformed json and thus the queries to fail.

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

@github-actions
Copy link
Copy Markdown

CCD diff report

No change

@hmcts-jenkins-j-to-z
Copy link
Copy Markdown
Contributor

Plan Result (aat)

No changes. Your infrastructure matches the configuration.

@hmcts-jenkins-j-to-z
Copy link
Copy Markdown
Contributor

Plan Result (prod)

No changes. Your infrastructure matches the configuration.

@hmcts-jenkins-j-to-z hmcts-jenkins-j-to-z Bot requested a deployment to preview April 14, 2026 09:25 Abandoned
@hmcts-jenkins-j-to-z hmcts-jenkins-j-to-z Bot requested a deployment to preview April 14, 2026 10:05 Abandoned
@tom-saunders-cts tom-saunders-cts force-pushed the DTSPB-5206-use-json-lib-not-strings branch from 0d26917 to f7cf29c Compare April 14, 2026 10:41
@github-actions
Copy link
Copy Markdown

CCD diff report

No change

@github-actions
Copy link
Copy Markdown

CCD diff report

No change

this is probably not the best from a longer term perspective - and i'm not sure
how this approach copes with potentially needing to remove values from the arrays.
Call new functinoality first then use old value.
@tom-saunders-cts tom-saunders-cts force-pushed the DTSPB-5206-use-json-lib-not-strings branch from 5231f74 to fd6da55 Compare April 16, 2026 08:49
@github-actions
Copy link
Copy Markdown

CCD diff report

No change

@tom-saunders-cts tom-saunders-cts merged commit 25f5c71 into master Apr 16, 2026
8 checks passed
@tom-saunders-cts tom-saunders-cts deleted the DTSPB-5206-use-json-lib-not-strings branch April 16, 2026 09:19
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.

3 participants