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

PER-9607 [back-end] Allow clearing a location #145

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

iulianvsp
Copy link
Contributor

No description provided.

@iulianvsp iulianvsp requested a review from liam-lloyd November 18, 2024 17:32
@iulianvsp iulianvsp force-pushed the PER-9607-allow-clearing-a-location branch 2 times, most recently from e09cdea to d7c9886 Compare November 21, 2024 16:10
@iulianvsp iulianvsp marked this pull request as ready for review November 21, 2024 17:16
Copy link
Member

@liam-lloyd liam-lloyd left a comment

Choose a reason for hiding this comment

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

Could you add OpenAPI documentation for this endpoint?

packages/api/src/record/controller.ts Outdated Show resolved Hide resolved
packages/api/src/record/controller.ts Outdated Show resolved Hide resolved
packages/api/src/record/helper.ts Outdated Show resolved Hide resolved
packages/api/src/record/queries/patch_record_by_id.sql Outdated Show resolved Hide resolved
packages/api/src/record/service.ts Outdated Show resolved Hide resolved
packages/api/src/record/validators.ts Show resolved Hide resolved
packages/api/src/record/service.ts Outdated Show resolved Hide resolved
packages/api/src/record/service.ts Outdated Show resolved Hide resolved
@iulianvsp iulianvsp force-pushed the PER-9607-allow-clearing-a-location branch 4 times, most recently from 8c3ce49 to faa7dbd Compare November 25, 2024 17:37
packages/api/src/record/controller.test.ts Show resolved Hide resolved
packages/api/docs/present/models/records.yaml Outdated Show resolved Hide resolved
packages/api/src/record/models.ts Outdated Show resolved Hide resolved
@iulianvsp iulianvsp force-pushed the PER-9607-allow-clearing-a-location branch 2 times, most recently from bd7fc1e to 13beb09 Compare November 26, 2024 11:35
recordId: string,
recordData: PatchRecordRequest
): Promise<string> => {
const dto = requestFieldsToDatabaseFields(recordData, recordId);
Copy link
Member

Choose a reason for hiding this comment

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

This should renamed now that the object assigned to this variable is not called a DTO.

@iulianvsp iulianvsp force-pushed the PER-9607-allow-clearing-a-location branch from 13beb09 to c3d5f25 Compare November 27, 2024 08:44
@iulianvsp iulianvsp merged commit a783d7c into main Nov 28, 2024
2 checks passed
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