Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make write_to and write_to_memory adhere to their typespecs #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xpgdk
Copy link

@xpgdk xpgdk commented Mar 16, 2022

The typespecs state that {:ok, String.t()} is returned on success, but :zip.create will return {:ok, [char()]}.

The typespecs state that {:ok, String.t()} is returned, but
:zip.create will return {:ok,  [char()]}.
@xou
Copy link
Owner

xou commented Mar 30, 2022

Thank you very much for this PR. Would it make sense to fix the typespec instead, so that users of the API are not broken by the next release?

@xpgdk
Copy link
Author

xpgdk commented Apr 6, 2022

@xou good point. I'll try to change the typespec instead and make a new PR

@xou xou force-pushed the master branch 3 times, most recently from e7bdfd0 to 68acd8d Compare January 28, 2024 16:00
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.

None yet

2 participants