Skip to content

"Expand" working only with fields named the same as collection #2

Description

@zzzaaa

For example I have two collection: Contact(id, name) and Post(id, createdBy)
Post.createdBy is linked to Collection

I try to execute:

$proxy->PostCollection()-> Expand('createdBy')->Execute();

It's throw error
Property Post::$Contact does not exist

AtomParser.php

 $property = new ReflectionProperty($object, $entryType);

$object contain Post object.
$entryType is string 'Contact'

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