Skip to content

reducer results should not contain undefined #22

Description

@wmertens

Since results are stored as JSON, undefined values aren't visible but they do remove keys from objects.

Therefore, a two-pronged breaking approach for v4

  • do not allow undefined values in objects returned by reducers
  • make a jsonColumn() column helper that removes null values from objects
  • make a jsonWithNullColumn() column helper that keeps null values
  • make the 'JSON' type behave like json()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions