gearbox-solutions / eloquent-filemaker

A Model extension and Eloquent driver for Laravel connecting to FileMaker through the Data API
https://gearboxgo.com
MIT License
55 stars 16 forks source link

Use the computed layout name instead of the base layout name #23

Closed likeadeckofcards closed 2 years ago

likeadeckofcards commented 2 years ago

When receiving a layout missing message, you would receive an error that the layout was missing exception. In the event that you have a DB_PREFIX set in your config, the exception would be a little ambiguous because the layout you are trying to query and the one being displayed by the exception would not line up. This fixes that by displaying the computed layout name.

Fixes #22