cakephp / elastic-search

Elastic search datasource for CakePHP
Other
88 stars 53 forks source link

Fixes to entityClass not working 100% #181

Closed lilHermit closed 6 years ago

lilHermit commented 6 years ago

Fix so the alias is better used for EntityClass

        $this->embedOne('User');

Fix so entityClass works without full namespace ie

        $this->embedOne('User', [
            'entityClass' => 'Parent'
        ]);
lilHermit commented 6 years ago

@markstory I will add tests tomorrow