mezzio-hal
mezzio-hal copied to clipboard
Hypertext Application Language implementation for PHP and PSR-7
### Bug Report The Parent-Child (self) relationship isn't working properly | Q | A |------------ | ------ | Mezzio-Hal | ^2.0 #### Summary The Parent-Child (self) relationship isn't working properly...
While trying to create a resource from a numbered array an exception is thrown due to `empty($name)` check on zero index on [this line](https://github.com/zendframework/zend-expressive-hal/blob/4fd30329f61ebd7f33dfaa798195ef45861f477e/src/HalResource.php#L264). ### Code to reproduce the issue...
I am trying to modify the default fields which appear in a collection response. In particular I'm filtering and paginating my collection and, beside `_total_items` I would like to have...
- [x] I was not able to find an [open](https://github.com/zendframework/zend-expressive-hal/issues?q=is%3Aopen) or [closed](https://github.com/zendframework/zend-expressive-hal/issues?q=is%3Aclosed) issue matching what I'm seeing. - [x] This is not a question. (Questions should be asked on [slack](https://zendframework.slack.com/)...
Provide a narrative description of what you are trying to accomplish: - [x] Are you fixing a bug? - [x] Detail how the bug is invoked currently. - [x] Detail...
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,...