Skip to content

Conversation

@dunglas
Copy link
Member

@dunglas dunglas commented Jul 13, 2016

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #608
License MIT
Doc PR todo

Follow up of #608.

  • Fix and complete unit tests
  • Entrypoint support
  • Exception support (maybe in another PR)

$attributeValue = $this->propertyAccessor->getValue($object, $attribute);
$type = $propertyMetadata->getType();

if (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel it looks like a strange indent ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? What do you suggest?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if ((is_array($attributeValue) || $attributeValue instanceof \Traversable)
    &&
     ...

@dunglas dunglas force-pushed the Simperfit-feature/adding-hal-support branch from 3bc92e9 to 03bddb3 Compare July 14, 2016 12:31
@Simperfit
Copy link
Contributor

LGTM with last comments

@dunglas dunglas force-pushed the Simperfit-feature/adding-hal-support branch from 99db881 to d3f92a6 Compare July 14, 2016 13:18
@dunglas dunglas force-pushed the Simperfit-feature/adding-hal-support branch from d3f92a6 to 67bf830 Compare July 14, 2016 14:53
@dunglas dunglas merged commit e0de72c into api-platform:master Jul 14, 2016
@dunglas dunglas deleted the Simperfit-feature/adding-hal-support branch July 14, 2016 16:45
magarzon pushed a commit to magarzon/core that referenced this pull request Feb 12, 2017
…ding-hal-support

Simperfit feature/adding hal support
@hectorh30 hectorh30 mentioned this pull request Apr 8, 2017
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants