Title: Generalize ConvertService + Converter · Issue #109 · scijava/scijava-common · GitHub
Open Graph Title: Generalize ConvertService + Converter · Issue #109 · scijava/scijava-common
X Title: Generalize ConvertService + Converter · Issue #109 · scijava/scijava-common
Description: The ancestors of these classes evolved to have API for handling Type and Class separately. This is unnecessary.. we should unify this API by focusing on Type and special-casing Class. This will simplify things and reduce the number of si...
Open Graph Description: The ancestors of these classes evolved to have API for handling Type and Class separately. This is unnecessary.. we should unify this API by focusing on Type and special-casing Class. This will sim...
X Description: The ancestors of these classes evolved to have API for handling Type and Class separately. This is unnecessary.. we should unify this API by focusing on Type and special-casing Class. This will sim...
Opengraph URL: https://github.com/scijava/scijava-common/issues/109
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Generalize ConvertService + Converter","articleBody":"The ancestors of these classes evolved to have API for handling `Type` and `Class` separately. This is unnecessary.. we should unify this API by focusing on `Type` and special-casing `Class`.\n\nThis will simplify things and reduce the number of signatures.\n\nFurthermore the API of `\u003cT\u003e convert(Object, Class\u003cT\u003e)` is really a holdover from the old uber-conversion mindset. What we should have is:\n- [x] A single high-priority (right after `NullConverter`) `castingConverter` that handles casting. This implies that low-level converters do not cast, but provide their specific output type.\n- [ ] Refactor API so converters just implement `O convert(I)`\n","author":{"url":"https://github.com/hinerm","@type":"Person","name":"hinerm"},"datePublished":"2014-07-25T17:09:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/109/scijava-common/issues/109"}
| 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:a3dc4cd4-2138-7a26-cc97-b2418aee0643 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B5FC:1D28E8:929062:C6E71D:696E81D1 |
| html-safe-nonce | 05e9470bfbbd91ee729ee9c4484fb2de742da66c65d4f49ad4ccf7d6d3087e1e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUZDOjFEMjhFODo5MjkwNjI6QzZFNzFEOjY5NkU4MUQxIiwidmlzaXRvcl9pZCI6Ijc5NDAzODgxNDgyMjA5NTMwNDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 57cda1d1997a893207d4e772244079f0adab24bda00088f5402f85f8c3b03c04 |
| hovercard-subject-tag | issue:38750932 |
| 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/scijava/scijava-common/109/issue_layout |
| twitter:image | https://opengraph.githubassets.com/76d5933928a05be0696f24e3a99c91d065a7253a6e046e3612a3d402f1a404d5/scijava/scijava-common/issues/109 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/76d5933928a05be0696f24e3a99c91d065a7253a6e046e3612a3d402f1a404d5/scijava/scijava-common/issues/109 |
| og:image:alt | The ancestors of these classes evolved to have API for handling Type and Class separately. This is unnecessary.. we should unify this API by focusing on Type and special-casing Class. This will sim... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hinerm |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdad15fd2ad43212aa8b8be5f2c2725550f8374ceeeb154a999ad9145b43f3f7 |
| turbo-cache-control | no-preview |
| go-import | github.com/scijava/scijava-common git https://github.com/scijava/scijava-common.git |
| octolytics-dimension-user_id | 1262770 |
| octolytics-dimension-user_login | scijava |
| octolytics-dimension-repository_id | 3594497 |
| octolytics-dimension-repository_nwo | scijava/scijava-common |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3594497 |
| octolytics-dimension-repository_network_root_nwo | scijava/scijava-common |
| 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 | 27b23bc056eb973d350fc95afc848757edb9e7a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width