Data definition with compound types #4
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Research
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
slendium/ocd#4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Expand the type system created by #1 to include
DateTimeInterface|iterable|array. Needs an attribute to declare the "value" type parameter for iterables and (associative) arrays.Declaring the value type is optional, as the underlying data structure would just be
JSONstrings that can contain anything.Also add them as cases to the
StorageClassenumeration and make sureTypeInfostill reports the most appropriate storage class.Specifically for
DateTimeInterfacetypes some helper methods should be added to thePredicate\DocumentShapeclass (and documented in its PHPDoc):before(DateTimeInterface)onOrBefore(DateTimeInterface)after(DateTimeInterface)onOrAfter(DateTimeInterface)DateTimeInterfaceshould also be added to the relevantPredicate\Exprvariants.c.fahner referenced this issue2026-08-05 17:24:13 +02:00