Skip to content

feat: add vCard N: (structured name) field support - #2

Merged
elbruno merged 2 commits into
mainfrom
squad/1-vcard-name-field
Apr 1, 2026
Merged

feat: add vCard N: (structured name) field support#2
elbruno merged 2 commits into
mainfrom
squad/1-vcard-name-field

Conversation

@elbruno

@elbruno elbruno commented Apr 1, 2026

Copy link
Copy Markdown
Owner

Summary

Adds WithName() builder method to VCardPayload for structured name components (last, first, middle, prefix, suffix) per vCard 4.0 spec.

Changes

  • Added WithName(lastName, firstName, middleName?, prefix?, suffix?) to VCardPayload`n- Emits N: line before FN: in vCard output
  • Bumped Payloads package version to 1.1.0
  • Added 6 xUnit tests covering happy path, edge cases, and ordering
  • All 58 tests passing

Closes #1

elbruno and others added 2 commits April 1, 2026 17:53
Adds WithName() builder method to VCardPayload for structured name
components (last, first, middle, prefix, suffix) per vCard 4.0 spec.

Closes #1

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@elbruno
elbruno merged commit 65f166a into main Apr 1, 2026
1 check passed
@elbruno
elbruno deleted the squad/1-vcard-name-field branch April 2, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for vCard N: (structured name) field

1 participant