mezzio / mezzio-hal

Hypertext Application Language implementation for PHP and PSR-7

Home Page:https://docs.mezzio.dev/mezzio-hal/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to avoid structure equivalence check

weierophinney opened this issue · comments

I suspect that sometimes it would be nice to have the option to skip the check provided by the HalResource::compareResources method.

This is because sometimes resources could have optional fields, or because an embedded resource makes sense only in certain cases


Originally posted by @marcosh at zendframework/zend-expressive-hal#54