Page MenuHomeDevCentral

Don't force to write classes for each document type
ClosedPublic

Authored by dereckson on Aug 21 2026, 03:54.
Tags
None
Referenced Files
F56854218: D4174.diff
Tue, Nov 10, 01:22
F56766628: D4174.diff
Mon, Nov 9, 03:55
F56686542: D4174.id10936.diff
Sun, Nov 8, 07:22
F56623871: D4174.id10937.diff
Sat, Nov 7, 19:03
F56386120: D4174.id10937.diff
Thu, Nov 5, 16:35
Unknown Object (File)
Sat, Oct 31, 10:23
Unknown Object (File)
Sat, Oct 31, 06:26
Unknown Object (File)
Sat, Oct 31, 00:24
Subscribers
None

Details

Summary

One of the concept of the documents collection is to allow to drop arbitrary
JSON files and get a PHP object from the dictionary fields.

While it's certainly not optimal, and while code could store the properties
in a specific hashmap instead, this attribute is added for compatibility
with PHP 8.2+.

Ref T2144.

Diff Detail

Repository
rOBSIDIAN Obsidian Workspaces
Lint
Lint Not Applicable
Unit
Tests Not Applicable