Skip to content

bug in optional support for decoding #1247

Closed
@Chris-Stockbridge

Description

@Chris-Stockbridge

If a table includes an optional custom struct, the decode method throws an error when the optional value is nil

I created a unit test demonstrating this here:
master...Chris-Stockbridge:SQLite.swift:master
d5b2adc

This unit test passes with the previous release, but breaks starting with 0.15.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions