Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Nullify values when the value is 0 in the database #1193

Description

@danielbachhuber

We're already doing this for parent, but we aren't doing it for some other fields:

image

We should be consistent about this.

Activity

added this to the 2.0 Beta 2 milestone on May 6, 2015

rachelbaker commented on May 13, 2015

@rachelbaker
Member

I agree that we should be consistent. I would rather go the other direction and return 0 for parent instead of null. This would make our return types consistent and make responses easier to handle in statically typed languages.

rachelbaker commented on May 14, 2015

@rachelbaker
Member
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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions