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

APS-1753 - Add CAS1 full address #2741

Merged
merged 2 commits into from
Dec 23, 2024

Conversation

davidatkinsuk
Copy link
Contributor

@davidatkinsuk davidatkinsuk commented Dec 23, 2024

The AP site surveys provide the address on a single line (excluding postcode)

This commit introduces a new persisted field approved_premises.full_address that should be used going forward instead of the individual address line or town fields. It updates the space search API to backfill the full address from the individual fields ‘on the fly’ to account for premises that have not yet been updated from the site surveys

@davidatkinsuk davidatkinsuk force-pushed the feature/aps-1753-add-cas1-full-address branch from 9862041 to a349f6f Compare December 23, 2024 11:41
Assert on literals instead of doing it in an opaque dynamic manner
The AP site surveys provide the address on a single line (excluding postcode)

This commit introduces a new persisted field `approved_premises.full_address` that should be used going forward instead of the individual address line or town fields. It updates the space search API to backfill the full address from the indiviual fields ‘on the fly’ to account for premises that have not yet been updated from the site surveys.
@davidatkinsuk davidatkinsuk force-pushed the feature/aps-1753-add-cas1-full-address branch from a349f6f to 64e402c Compare December 23, 2024 14:14
@davidatkinsuk davidatkinsuk merged commit 841375b into main Dec 23, 2024
8 checks passed
@davidatkinsuk davidatkinsuk deleted the feature/aps-1753-add-cas1-full-address branch December 23, 2024 14:25
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