Skip to content

Update behaviour: swift Codable with Optional fields #1175

Open
@Alkenso

Description

@Alkenso

In some past SQLiteEncoder skips to update the column if the Codable's optional field is nil
Seems after #838 it starts to place null if the value is nil, which is not convenient in some cases (often you want to update only part of the fields)

Please provide either

  • example/docs how to update only non-nil fields
  • additional Encoder setting that would configure this behaviour

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions