Skip to content

Circular reference error when adding MutablePersistableRecord conformance. #1823

@scottrhoyt

Description

@scottrhoyt

I'm new to GRDB so it's possible I did something wrong here, but I cannot add MutablePersistableRecord conformance to my Codable structs without getting a circular reference. I copy/pasted the Authors and Books models from the recommend practices documentation to a minimal project to repro the issue. GRDB v. 7.7.1 and 7.8.0 had the same issue. Interestingly, when I use the same record objects in a minimal SPM package I do not see this, so it's possibly dependent on some of the compiler settings or linked frameworks unique to a new Xcode 26 project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions