Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two-way casters #843

Open
brendt opened this issue Dec 11, 2024 · 1 comment
Open

Two-way casters #843

brendt opened this issue Dec 11, 2024 · 1 comment
Labels

Comments

@brendt
Copy link
Member

brendt commented Dec 11, 2024

Currently, a caster only casts values one way. Especially for the ORM, it would be useful to cast both ways, since data is constantly stored and loaded.

@brendt brendt added the Mapper label Dec 11, 2024
@brendt brendt added this to the pre-1.0 milestone Dec 11, 2024
@brendt brendt modified the milestones: pre-1.0, v1.0.0-alpha.5 Jan 9, 2025
@Jeroen-G
Copy link
Contributor

This could also rely on PHP's JsonSerializable interface if you really want the framework to get out of the user's way.

@brendt brendt modified the milestones: v1.0.0-alpha.5, v1.0.0-alpha.6 Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants