Skip to content

Handle circular reference error in Loan JSON serialization #27

Description

@ThatoMabilo

Bug:
When the GET /api/loans endpoint returns a Loan object, Jackson may encounter a circular reference between Loan, Member, and Book objects causing a serialization error. This needs to be handled by adding @JsonIgnore annotations or configuring Jackson to handle circular references properly.

Priority: Medium
Linked Requirement: NFR-01

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions