Skip to content

Added NullEncryptedBytes to support pgx/sqlc integration#155

Merged
bincyber merged 1 commit into
masterfrom
feat/NullEncryptedBytes
Jun 2, 2026
Merged

Added NullEncryptedBytes to support pgx/sqlc integration#155
bincyber merged 1 commit into
masterfrom
feat/NullEncryptedBytes

Conversation

@bincyber

@bincyber bincyber commented Jun 2, 2026

Copy link
Copy Markdown
Owner

This PR adds NullEncryptedBytes when a column may be NULL and you need to tell NULL apart from an empty string stored as ciphertext.

This new type will work seamlessly with pgx/sqlc and GORM

@bincyber bincyber merged commit e8eea25 into master Jun 2, 2026
4 checks passed
@bincyber bincyber deleted the feat/NullEncryptedBytes branch June 2, 2026 18:42
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