Skip to content

Commit

Permalink
Merge 7a8cce6 into e99e9d3
Browse files Browse the repository at this point in the history
  • Loading branch information
fcastilloes committed Nov 30, 2017
2 parents e99e9d3 + 7a8cce6 commit 4fb9352
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
## Added
- Tags in ActionSchema
- Entity name in ActionSchema

## [1.2.8] - 2017-11-07
## Changed
Expand Down
4 changes: 4 additions & 0 deletions src/Schema/ActionEntity.php
Expand Up @@ -110,6 +110,10 @@ private function parseDefinition(array $definition)
$result['fields'] = array_map([$this, 'parseObjectField'], $definition['F']);
}

if (isset($definition['n'])) {
$result['name'] = $definition['n'];
}

if (isset($definition['V'])) {
$result['validate'] = $definition['V'];
}
Expand Down

0 comments on commit 4fb9352

Please sign in to comment.