Skip to content

1.10.0

Compare
Choose a tag to compare
@github-actions github-actions released this 27 Sep 09:16
· 108 commits to main since this release
f438032

Changed

  • Model binding defaults to primary key instead of Model::getRouteKeyName() (which should be used for those coming from routes instead)
  • Route bound models are using specified attributes instead of default to IDs (model's primary keys). For e.g. posts/{post:slug} will use slug on the DTO query

Fixed

  • BindModelUsing now uses the attribute on the binding query