Title: same property converter names conflict · Issue #1198 · objectbox/objectbox-java · GitHub
Open Graph Title: same property converter names conflict · Issue #1198 · objectbox/objectbox-java
X Title: same property converter names conflict · Issue #1198 · 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 = B.Converter::class, dbTyp...
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/1198
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"same property converter names conflict","articleBody":"### Is there an existing issue?\r\n\r\n- [ ] 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 = B.Converter::class, dbType = String::class)\r\n var b:B?=null\r\n\r\n @Convert(converter = C.Converter::class, dbType = String::class)\r\n var c:C?=null\r\n}\r\n\r\nclass B {\r\n class Converter...\r\n}\r\n\r\nclass C {\r\n class Converter...\r\n}\r\n\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.B;\r\nimport apple.ios.watches.model.C;\r\n...\r\nprivate final B.Converter bConverter = new B.Converter();\r\nprivate final C.Converter cConverter = new C.Converter();\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\nimport apple.ios.watches.model.C.Converter;\r\n...\r\nprivate final Converter bConverter = new Converter();\r\nprivate final Converter cConverter = 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:45:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1198/objectbox-java/issues/1198"}
| 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:94832d03-90a2-f7fb-ad80-6a45adde3a8d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF1E:C379C:32FACC:42CAD5:69816F17 |
| html-safe-nonce | 2da64c45c4250b8181892ec0be8ecbbcc2175d3035fff5ee8d0646133b432b00 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjFFOkMzNzlDOjMyRkFDQzo0MkNBRDU6Njk4MTZGMTciLCJ2aXNpdG9yX2lkIjoiNDQ0NDAxNjM0MjQxMjEyODAyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 328020bae6d3313191fc1ce0e1d753f43373e6d442b2918443d5d4b6896cd24d |
| hovercard-subject-tag | issue:2700764087 |
| 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/1198/issue_layout |
| twitter:image | https://opengraph.githubassets.com/18ab40e007627c4006b03788c56e29939e649d02bc410a4bada0e40f4251af4b/objectbox/objectbox-java/issues/1198 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/18ab40e007627c4006b03788c56e29939e649d02bc410a4bada0e40f4251af4b/objectbox/objectbox-java/issues/1198 |
| 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 | e137814e266030874fd2c86863529d0622b13889eeda04148c57654b6ea84ad6 |
| 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 | dd58d68a7813bbec9c91422c8c35f4af33832d70 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width