knit-pk / api-v1-php

KNIT API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description does not have character limit

FieryCod opened this issue · comments

Now description is not limited, but we should limit the length of description in an Article entity to 100 characters. Of course we can limit the description on the front but it will not look good with the rest of a page.

To conclude description in Article entity should be limited to 100 characters

Actually, Article's description is now limited to 300 characters, and title to 100 characters.

* @Assert\Length(max="300")

@FieryCod Could you confirm, that it works?

Closing as invalid.

screenshot_20180118_221516