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

Permit fetching undefined values also if the type is specified. #203

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

Conversation

fdevibe
Copy link
Contributor

@fdevibe fdevibe commented Nov 9, 2014

boss_db.erl permits undefined to be written to a database, no matter what type is specified (in validate_record_types/1), but in boss_record_lib.erl, in convert_value_to_type/2, it is not allowed if the type is specified. This means that undefined can be written to the database, but not fetched back, if the type is specified. This PR supersedes #200.

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