Releases: open-southeners/laravel-dto
Releases · open-southeners/laravel-dto
3.2.1
Fixed
- Route binding when nested DTO is being used with same parameter key as route binding
3.2.0
Changed
- Models route binding now uses Eloquent's Model
resolveRouteBindingQuery
method - Models uses default routing key (
getRouteKeyName
) only whenBindModel
PHP attribute doesn't have the using argument
Fixed
- Routes binding models through DTOs now are injected back to route parameters (to be reused in every other part of the software)
3.1.3
Fixed
BackedEnum
typed properties with union types falling back to original value
3.1.2
Fixed
- laravel-helpers package version constraints so it doesn't conflict with any other package that uses it in the same way (or even the root project)
3.1.1
Fixed
- Serialisation using old
BindModelUsing
instead of newBindModel
attribute
3.1.0
Added
- JSON strings to collections (arrays or Illuminate's Collection instances)