CGS4k

Laravel Api Controller

ChangeLog

1.22.1 (10 Nov 2020)

  • Fixes issue when sorting by relation and both relation and parent table have same column name and sorting on that column name is requesed resulting in a sql error - ambiquos

1.22.0 (10 Nov 2020)

  • Fixes sort issue to use a left join for related sorts instead of an inner join
  • Update to response from a Post / Put will now include over the default fields any fields in the post / put that are in the allowed fields
  • BaseRepository::dd method now does not typecast any parameters nor require any.

1.21.1 (3 Nov 2020)

  • Fixed bug where relationships passed in camel case where not working correctly

1.21.0 (30 Oct 2020)

  • Improves relationships by automatically adding the ability to populate fields in pivot tables through the API
  • Automatically detected related records saved during the request and returns those in the response using the defined resouce