Skip to content

Add magic_bytes validation example documentation#146

Open
leftstanding wants to merge 3 commits intoelixir-waffle:masterfrom
leftstanding:feat/file-validation-with-magic_bytes-example
Open

Add magic_bytes validation example documentation#146
leftstanding wants to merge 3 commits intoelixir-waffle:masterfrom
leftstanding:feat/file-validation-with-magic_bytes-example

Conversation

@leftstanding
Copy link
Copy Markdown

closes #14

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📓 This was primarily for my own verification that everything wired up and worked correctly. I don't think we would want to keep this, and the test dependency, but since it did add some coverage and validation I figure I can leave it open to discussion before I revert it.

@achempion
Copy link
Copy Markdown
Member

achempion commented Apr 27, 2026

Congrats on releasing the package.

Considering most users are on the default validation, I would like to skip on adding the package to the dependency list. Added tests should also be a concern of a package.

Can we just update the validation function docs, so it links to the hex.pm of magic_bytes package?

p.s. sorry for a delayed reply

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.

Use magic bytes for image validations instead of extension

2 participants