How to conform to the HRecord Protocol? #14
-
Hi @aaronpearce, first of all, thanks for the library! I'm currently in the process of setting it up with GRDB and I'm trying to understand how to conform my Models to HRecord. Especially around the inter play of archivedRecordData, record and zoneID. Do you have some examples of HRecord conformances that you can share? Best |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
👋 There's a small demo app available here. The usage of |
Beta Was this translation helpful? Give feedback.
👋 There's a small demo app available here.
The usage of
zoneID
depends on your use case. You could use the default zone or create specific zone identifiers if you wish to share records in the future. Currently Harmony doesn't support sharing databases but I plan to add this in the future.