Skip to content

@column should infer nullable property from variable declaration #201

Closed

Description

@dcworldwide

Can the @column() decorator handle the following

@Column()
ua?: string

as equivalent to

@Column({nullable: true})
ua?: string

?

Activity

  1. pleerock commented on Jan 14, 2017

    @pleerock
    Member

    no you can't. btw answered your question on stackoverflow too.

  2. dcworldwide commented on Jan 14, 2017

    @dcworldwide
    ContributorAuthor

    Thanks. Wishful thinking.

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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions