Title: Inherit model properties from super classes · Issue #13 · JavaWebStack/orm · GitHub
Open Graph Title: Inherit model properties from super classes · Issue #13 · JavaWebStack/orm
X Title: Inherit model properties from super classes · Issue #13 · JavaWebStack/orm
Description: Is your feature request related to a problem? Please describe. When you look to the last section: I wish that B had the id field as well. Currently, this doesn't seem to be the case. It can lead to reduction of boilerplate code and bette...
Open Graph Description: Is your feature request related to a problem? Please describe. When you look to the last section: I wish that B had the id field as well. Currently, this doesn't seem to be the case. It can lead to...
X Description: Is your feature request related to a problem? Please describe. When you look to the last section: I wish that B had the id field as well. Currently, this doesn't seem to be the case. It can lea...
Opengraph URL: https://github.com/JavaWebStack/orm/issues/13
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Inherit model properties from super classes","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nWhen you look to the last section: I wish that B had the id field as well. Currently, this doesn't seem to be the case. It can lead to reduction of boilerplate code and better maintainability.\r\n\r\nI can imagine scenarios where you don't want to inherit these properties. In this case one could add an Annotation on the inheriting class like: @DoNotInheritModelProperties\r\n\r\n**Describe the solution you'd like**\r\nSee above\r\n\r\n**Describe alternatives you've considered**\r\nSee above.\r\n\r\n**Additional context**\r\n´´´\r\nclass A extends Model {\r\n @Column\r\n int id;\r\n}\r\n\r\nclass B extends A {}\r\n´´´","author":{"url":"https://github.com/TimothyGillespie","@type":"Person","name":"TimothyGillespie"},"datePublished":"2021-03-20T15:14:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/13/orm/issues/13"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1ff279a9-d968-6805-c3de-cdc08ceadcca |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B3A8:356C49:1BDBDF:24202B:697E42B6 |
| html-safe-nonce | 07c204a85eac2fa63b434f6e6065bed1d920e0dd6139eed3ae505299575dfed5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0E4OjM1NkM0OToxQkRCREY6MjQyMDJCOjY5N0U0MkI2IiwidmlzaXRvcl9pZCI6IjU0NDU2NDkxNjE2MTU0NTg5OTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c73535cf0552e6d9e37f5873691a69b2a8a707203441cc10a7a4ad2827ca867e |
| hovercard-subject-tag | issue:836832725 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaWebStack/orm/13/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c770ce370c06c0ca24f951fca8babc4e49a22e89ab18d85224e517f614b5f18c/JavaWebStack/orm/issues/13 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c770ce370c06c0ca24f951fca8babc4e49a22e89ab18d85224e517f614b5f18c/JavaWebStack/orm/issues/13 |
| og:image:alt | Is your feature request related to a problem? Please describe. When you look to the last section: I wish that B had the id field as well. Currently, this doesn't seem to be the case. It can lead to... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TimothyGillespie |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaWebStack/orm git https://github.com/JavaWebStack/orm.git |
| octolytics-dimension-user_id | 73674659 |
| octolytics-dimension-user_login | JavaWebStack |
| octolytics-dimension-repository_id | 308479502 |
| octolytics-dimension-repository_nwo | JavaWebStack/orm |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 308479502 |
| octolytics-dimension-repository_network_root_nwo | JavaWebStack/orm |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width