Skip to content
This repository was archived by the owner on May 26, 2026. It is now read-only.

[Contacts rewrite] Separate mapping from vCard generation/parsing #419

@rfc2822

Description

@rfc2822
  • Contact should only be a data class (as a first step, before it is completely removed) → remove Contact.fromReader and contact.writeVCard(), should be replaced by calling mapping + vCard handling separately
  • ContactReader to ContactWriter are then only mappers and can be named accordingly
    • ContactReader (vcf → Contact) becomes ContactBuilder (builds Contact and later Entity)
    • ContactWriter (Contact → vcf) becomes ContactHandler (processes Contact and later Entity)
  • ContactProcessor (centralized mapping) is absorbed by the new ContactBuilder and ContactHandler

Metadata

Metadata

Assignees

Labels

refactoringQuality improvement of existing functions

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions