-
Notifications
You must be signed in to change notification settings - Fork 47
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
Maybe hasOne->addField() can inherit field defaults from related model? #185
Labels
hangout agenda 🔈
Will discuss on next hangout
Comments
I tried this with type but problem is that this makes it super slow. Maybe we should define inheritance explicitly. |
Has one is readonly but we need this for model joining. |
I think this feature would be an overkill for basic functionality. |
Yeah probably, but still nice to have at some point :) |
Maybe 447 implemented this? |
partly fixed in #880 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If somehow we could get field properties from related model, then we can put them here: https://github.com/atk4/data/blob/develop/src/Reference_SQL_One.php#L46
For example,
The text was updated successfully, but these errors were encountered: