Skip to content

ソースコードを読んでみる #1

Closed
@takecchi

Description

@takecchi

わかってる情報

  • multipart/form-dataを使用するとstringとして情報が渡される
    (application/jsonなどはjsonのパーサーが使用されると思われ)
  • enableImplicitConversion: trueを渡すと暗黙的な変換が行われる為、この時点で文字列'false'がbooleantrueに変換される。
  • つまりenableImplicitConversion: trueになってると@Transform(({ value }) => value === 'true')を書いても意味がない

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