Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Revert "Returning false for true_false values" #334

Merged
merged 1 commit into from
Sep 15, 2022

Conversation

jasonbahl
Copy link
Contributor

Reverts #304

I'm reverting this as I need to think through this better.

If a field is not set, it should be null.

If the field is set, and the value is true, it should be true. If isset and the value is false, it should be false.

A non-set value should return null, because it hasn't been set yet. Returning false would be a mistake, because the value hasn't been set to false, it just hasn't been set at all yet.

@jasonbahl jasonbahl merged commit 4fb24c0 into develop Sep 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant