Skip to content

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

Open
fdevibe wants to merge 1 commit intoErlyORM:masterfrom
fdevibe:permit_reading_typed_undefined_values
Open

Permit fetching undefined values also if the type is specified.#203
fdevibe wants to merge 1 commit intoErlyORM:masterfrom
fdevibe:permit_reading_typed_undefined_values

Conversation

@fdevibe
Copy link
Copy Markdown
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