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

Attachment Parent Entity Id #1078

Open
andriusvo opened this issue Jan 3, 2022 · 0 comments
Open

Attachment Parent Entity Id #1078

andriusvo opened this issue Jan 3, 2022 · 0 comments

Comments

@andriusvo
Copy link

Summary
In class File change field parentEntityId from int to string, because relations can have id fields as UUID for example.

Example
Real case - class Car have a relation with File. Car primary key id used as UUID (791d3208-cfa8-4853-8255-fe1089840a74) so in this case, parentEntityId will fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant