Exploring ways to improve the file-based data collections feature for 2.x. One of these changes is to throw exceptions if data is invalid.
For example: Currently, a JSON file with bad syntax is returned as null, while YAML collections will throw an error, which is inconsistent. The main goal with HydePHP is to have great developer experience (DX), so I'm thinking if introducing exceptions for all invalid data types is the right approach.
My main advantage is direct and clear feedback on what has gone wrong, however a drawback is being interrupted when developing a data file.