Skip to content

Conversation

@Vinnl
Copy link
Contributor

@Vinnl Vinnl commented Aug 15, 2019

If the BooleanField in the given resource is not set, the tristate
logic would set it to false by default. This commit changes that to
differentiate between the value that is shown (false), and the
value that's actually present on the web.

These changes were made as per Tim's instructions. They came up when working on SolidOS/solid-panes#144.

@Vinnl Vinnl requested review from megoth and timbl August 15, 2019 15:39
Copy link
Contributor

@megoth megoth left a comment

Choose a reason for hiding this comment

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

I'm having trouble understanding all of the consequences of this, but it seems reasonable and works on my computer ^_^

Copy link
Contributor

@timbl timbl left a comment

Choose a reason for hiding this comment

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

Looks good to me.. we walked through the code in the failure state. Still not very easy code to wrap your head around

@megoth
Copy link
Contributor

megoth commented Aug 16, 2019

I'll fix a new version that does not conflict with master and then merge it ^_^

If the BooleanField in the given resource is not set, the tristate
logic would set it to false by default. This commit changes that to
differentiate between the value that is shown (false), and the
value that's actually present on the web.
@megoth megoth merged commit 49d6d8c into master Aug 16, 2019
@megoth megoth deleted the fix/booleanfield branch August 16, 2019 16:50
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.

4 participants