Skip to content

Commit

Permalink
Remove validations from language
Browse files Browse the repository at this point in the history
  • Loading branch information
miloradvojnovic committed Mar 16, 2018
1 parent 3cf6dd6 commit 4a12110
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions metamodel/scala-angular.tx
Original file line number Diff line number Diff line change
Expand Up @@ -43,35 +43,7 @@ Enum:
;

Property:
name=ID ':' type=[Type] (validations+=Validation)?
;

Validation:
Id | Required | NotNull | Max | Min | Size
;

Id:
name='id'
;

Required:
name='required'
;

NotNull:
name='not_null'
;

Max:
'max' '(' value=INT ')'
;

Min:
'min' '(' value=INT ')'
;

Size:
'size' '(' min=INT ',' max=INT ')'
name=ID ':' type=[Type]
;

Type:
Expand Down

0 comments on commit 4a12110

Please sign in to comment.