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

feat: Disable relation integer casting to allow UUIDs with custom Models #19

Merged
merged 3 commits into from
Oct 31, 2024

Conversation

DanielSpravtsev
Copy link
Contributor

@DanielSpravtsev DanielSpravtsev commented Aug 26, 2024

It is initially unclear that the problem stems from Models using HasUuids still casting relation IDs to integers with $casts. This relation_id casting is unnecessary, so it would be better to remove it entirely

@pperzyna
Copy link

@mckenziearts

@mckenziearts mckenziearts merged commit 98fd039 into laravelcm:main Oct 31, 2024
@DanielSpravtsev DanielSpravtsev deleted the patch-1 branch November 1, 2024 09:17
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.

3 participants