Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can force the object of Evaluator #289

Open
karousn opened this issue Apr 11, 2019 · 0 comments
Open

How can force the object of Evaluator #289

karousn opened this issue Apr 11, 2019 · 0 comments

Comments

@karousn
Copy link

karousn commented Apr 11, 2019

On PHP 7.2, Symfony 4.2 and Hateoas 3 ,hateoas-bundle 2.0.1:

for specific endpoint : host.loc/v1/object1/{uuid} the Object1RelationProvider get as $class = Object2 namespace in getRelations signature . i don't understand why, and how can i mention to ObjectRelationProvider to work with Object1.
I use static method call https://github.com/willdurand/Hateoas#relationprovider above the tow class because expression call i got message asking for signature of getRelations(RelationProvider $relationprovider, $class) signature.
For the other endpoint, i don't have this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant