database icon indicating copy to clipboard operation
database copied to clipboard

[4.0] Deprecated class attribute

Open rdeutz opened this issue 2 months ago • 1 comments

Pull Request for Issue #254

Summary of Changes

In Meeting 106 of the maintainers team the team decided to remove the class parameter from loadObject, loadObjectList and DatabaseIterator.

This way (ussing a custom class as result) of fetching data is not supported over all database drivers so it can lead to problems in the development and using the database package.

Testing Instructions

No tests possible it is ony documenting that the parameter is deprecated and will be removed with version 6 of the package.

Documentation Changes Required

No changes needed it is so widly used that it wasn't part of the documentation ;-)

rdeutz avatar Oct 06 '25 13:10 rdeutz

I think this should trigger an custom deprecation message if the input is not \stdClass, since no IDE or analyser understands parameter deprecation.

HLeithner avatar Oct 19 '25 08:10 HLeithner