Skip to content

Remap face-search response DTO to the processor's matches array when search UI lands #104

Description

@ahmetabdullahgultekin

Why: IdentificationResponseDto models a flat {userId,name,confidence,isMatch} shape, but the Identity /biometric/search endpoint actually returns an opaque processor map ({matches:[{user_id, similarity}], ...}). All fields default so deserialization never throws, but the real payload is dropped — fine today because identify/search is not on the login path, but it must be remapped before any search UI consumes real results.

Done when: the DTO maps the processor's matches[] array and the search UI renders real 1:N results.

source: shared/src/commonMain/kotlin/com/fivucsas/shared/data/remote/dto/IdentificationResponseDto.kt:9


Migrated from shared/src/commonMain/kotlin/com/fivucsas/shared/data/remote/dto/IdentificationResponseDto.kt:9.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions