Skip to content

Allow serializing DateTimeInterface in date scalars#2711

Merged
spawnia merged 4 commits intomasterfrom
serialize-date-time-interface
Aug 22, 2025
Merged

Allow serializing DateTimeInterface in date scalars#2711
spawnia merged 4 commits intomasterfrom
serialize-date-time-interface

Conversation

@spawnia
Copy link
Collaborator

@spawnia spawnia commented Aug 21, 2025

Fixes #2710

  • Added or updated tests
  • Documented user facing changes
  • Updated CHANGELOG.md

Changes

Accept any ´DateTimeInterfaceinstance in date scalars, such asDateTimeorDateTimeImmutable`.

Breaking changes

None.

@spawnia spawnia marked this pull request as ready for review August 22, 2025 08:01
@spawnia spawnia merged commit 74dbc61 into master Aug 22, 2025
65 checks passed
@spawnia spawnia deleted the serialize-date-time-interface branch August 22, 2025 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DateTime Scalar breaks when passed \DateTimeInterface

1 participant