Skip to content

Conversation

@florianJacques
Copy link
Contributor

When serializing a model, relationships of the “embed” type are not necessarily loaded. This means that Eloquent cannot apply attribute casting and mutation rules to them.

Checklist

  • Add tests and ensure they pass

@florianJacques florianJacques requested a review from a team as a code owner June 16, 2025 07:03
@florianJacques florianJacques requested a review from GromNaN June 16, 2025 07:03
@florianJacques florianJacques deleted the feat.serializeEmbeds branch June 17, 2025 09:01
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.

1 participant