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
F52583827: D4174.id10937.diff
Sat, Oct 3, 10:42
Unknown Object (File)
Thu, Oct 1, 12:31
Unknown Object (File)
Thu, Oct 1, 02:43
Unknown Object (File)
Wed, Sep 30, 22:13
Unknown Object (File)
Wed, Sep 30, 08:46
Unknown Object (File)
Wed, Sep 30, 04:06
Unknown Object (File)
Tue, Sep 29, 23:31
Unknown Object (File)
Tue, Sep 29, 11:55
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