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
F53350157: D4174.id10936.diff
Thu, Oct 8, 22:38
F53328628: D4174.id10937.diff
Thu, Oct 8, 17:22
Unknown Object (File)
Wed, Oct 7, 21:23
Unknown Object (File)
Wed, Oct 7, 21:23
Unknown Object (File)
Wed, Oct 7, 21:12
Unknown Object (File)
Wed, Oct 7, 19:13
Unknown Object (File)
Mon, Oct 5, 17:35
Unknown Object (File)
Mon, Oct 5, 10:10
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