Skip to content

allow document UUIDs to be optional during validation - #11

Merged
hugowetterberg merged 1 commit into
mainfrom
feature/optional-doc-uuid
Jul 29, 2026
Merged

allow document UUIDs to be optional during validation#11
hugowetterberg merged 1 commit into
mainfrom
feature/optional-doc-uuid

Conversation

@hugowetterberg

Copy link
Copy Markdown
Contributor

Documents are normally required to carry a valid UUID. Add a WithOptionalDocumentUUID() validation option for document types that are identified by something other than a UUID and never get one assigned, so that an empty UUID stops being reported as a validation error. A UUID that is set still has to be a valid one.

Documents are normally required to carry a valid UUID. Add a
WithOptionalDocumentUUID() validation option for document types that are
identified by something other than a UUID and never get one assigned, so
that an empty UUID stops being reported as a validation error. A UUID
that is set still has to be a valid one.
@hugowetterberg
hugowetterberg merged commit 6a7e0d9 into main Jul 29, 2026
2 checks passed
@hugowetterberg
hugowetterberg deleted the feature/optional-doc-uuid branch July 29, 2026 05:39
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.

1 participant