Skip to content

Clubhouse-148415: Tweaking the mapping of complex type to support setting to blank#9

Merged
jfbramlett merged 1 commit intomasterfrom
jfb/ch148415/blank-existing-fields
Aug 18, 2021
Merged

Clubhouse-148415: Tweaking the mapping of complex type to support setting to blank#9
jfbramlett merged 1 commit intomasterfrom
jfb/ch148415/blank-existing-fields

Conversation

@jfbramlett
Copy link
Copy Markdown

When loading values from the DB into an existing object if that object has an existing value and the DB value is nil this was not "resetting" the value, this will set the value to nil if it can (otherwise relies on the Decode to respect the fact the DB might not provide a value).

We were seeing this issue after blanking a Publish_At time on a model.

See Clubhouse-148415 for more details.

@shortcut-integration
Copy link
Copy Markdown

@jfbramlett jfbramlett merged commit e0bc340 into master Aug 18, 2021
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.

2 participants