Title: kotlin typealias not work in property converter · Issue #1197 · objectbox/objectbox-java · GitHub
Open Graph Title: kotlin typealias not work in property converter · Issue #1197 · objectbox/objectbox-java
X Title: kotlin typealias not work in property converter · Issue #1197 · objectbox/objectbox-java
Description: Is there an existing issue? I have searched existing issues Build info ObjectBox version: [4.0.3] OS: [Android ] Device/ABI/architecture: [arm64-v8a ] Steps to reproduce file A.kt: class A { @Convert(converter = BConverter::class, dbType...
Open Graph Description: Is there an existing issue? I have searched existing issues Build info ObjectBox version: [4.0.3] OS: [Android ] Device/ABI/architecture: [arm64-v8a ] Steps to reproduce file A.kt: class A { @Conve...
X Description: Is there an existing issue? I have searched existing issues Build info ObjectBox version: [4.0.3] OS: [Android ] Device/ABI/architecture: [arm64-v8a ] Steps to reproduce file A.kt: class A { @Conve...
Opengraph URL: https://github.com/objectbox/objectbox-java/issues/1197
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"kotlin typealias not work in property converter","articleBody":"### Is there an existing issue?\r\n\r\n- [x] I have searched [existing issues](https://github.com/objectbox/objectbox-java/issues)\r\n\r\n### Build info\r\n\r\n- ObjectBox version: [4.0.3]\r\n- OS: [Android ]\r\n- Device/ABI/architecture: [arm64-v8a ]\r\n\r\n### Steps to reproduce\r\n\r\nfile A.kt:\r\n```kotlin\r\nclass A {\r\n @Convert(converter = BConverter::class, dbType = String::class)\r\n var b:B?=null\r\n}\r\n\r\nclass B {\r\n class Converter...\r\n}\r\n\r\ntypealias BConverter = B.Converter\r\n```\r\n\r\n### Expected behavior\r\ngenerated ACursor.java:\r\n\r\n```java\r\n...\r\nimport apple.ios.watches.model.BConverter;\r\n...\r\nprivate final BConverter bConverter = new BConverter();\r\n...\r\n```\r\n\r\n### Actual behavior\r\ngenerated ACursor.java:\r\n```java\r\n...\r\nimport apple.ios.watches.model.B.Converter;\r\n...\r\nprivate final Converter bConverter = new Converter();\r\n...\r\n```\r\n### Code\r\n\u003cdetails\u003e\u003csummary\u003eCode\u003c/summary\u003e\r\n\r\n```java\r\n\r\n```\r\n\r\n\u003c/details\u003e\r\n\r\n### Logs, stack traces\r\n\r\n\u003cdetails\u003e\u003csummary\u003eLogs\u003c/summary\u003e\r\n\r\n```console\r\n\r\n```\r\n\r\n\u003c/details\u003e\r\n","author":{"url":"https://github.com/amoikevin","@type":"Person","name":"amoikevin"},"datePublished":"2024-11-28T04:41:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1197/objectbox-java/issues/1197"}
| 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:177751aa-3860-933a-5897-39255c068246 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D1EC:3CCF8F:5CAC8:755F7:697FC9F9 |
| html-safe-nonce | 571f2292837d9485f7ae14ea79d0d386816d40c49f63465f3aa4bbec407611c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUVDOjNDQ0Y4Rjo1Q0FDODo3NTVGNzo2OTdGQzlGOSIsInZpc2l0b3JfaWQiOiI4MTI2NDg3MzI4ODExMTA4ODU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0d0e56412f8ec64909879aa9812e4ef4dd800ee17571da57c7626e6fdbee9ece |
| hovercard-subject-tag | issue:2700723125 |
| 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/objectbox/objectbox-java/1197/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e0604057d619b819c9f47d700b49dbe0d07b79a56c406fc7c789a01bc8813774/objectbox/objectbox-java/issues/1197 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e0604057d619b819c9f47d700b49dbe0d07b79a56c406fc7c789a01bc8813774/objectbox/objectbox-java/issues/1197 |
| og:image:alt | Is there an existing issue? I have searched existing issues Build info ObjectBox version: [4.0.3] OS: [Android ] Device/ABI/architecture: [arm64-v8a ] Steps to reproduce file A.kt: class A { @Conve... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | amoikevin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/objectbox/objectbox-java git https://github.com/objectbox/objectbox-java.git |
| octolytics-dimension-user_id | 22327943 |
| octolytics-dimension-user_login | objectbox |
| octolytics-dimension-repository_id | 79901405 |
| octolytics-dimension-repository_nwo | objectbox/objectbox-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 79901405 |
| octolytics-dimension-repository_network_root_nwo | objectbox/objectbox-java |
| 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