Title: BaseRequest typing · Issue #120 · microsoftgraph/msgraph-sdk-java · GitHub
Open Graph Title: BaseRequest typing · Issue #120 · microsoftgraph/msgraph-sdk-java
X Title: BaseRequest typing · Issue #120 · microsoftgraph/msgraph-sdk-java
Description: Similar to discussion in #116, BaseRequest is not modelled optimally either. The obvious indicator is the very free typing of the send methods: protected
Open Graph Description: Similar to discussion in #116, BaseRequest is not modelled optimally either. The obvious indicator is the very free typing of the send methods: protected
X Description: Similar to discussion in #116, BaseRequest is not modelled optimally either. The obvious indicator is the very free typing of the send methods: protected <T1, T2> T1 send(final HttpMethod met...
Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-java/issues/120
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"BaseRequest typing","articleBody":"Similar to discussion in #116, `BaseRequest` is not modelled optimally either. The obvious indicator is the very free typing of the send methods:\r\n\r\n```java\r\nprotected \u003cT1, T2> T1 send(final HttpMethod method,\r\n final T2 serializedObject) throws ClientException;\r\n\r\nprotected \u003cT1, T2> void send(final HttpMethod method,\r\n final ICallback\u003cT1> callback,\r\n final T2 serializedObject) \r\n```\r\nT1 and T2 should not be there, `BaseRequest` should \r\n\r\n* carry one generic type T (e.g. `BaseRequest\u003cUser>`) and the types represented by `responseClass`, T1, T2 should be based on T as per demo in #119.\r\n\r\n@darrelmiller Typing-wise the codebase is a mess but I don't think this is that big a job to fix. You sort this out for one use case and code generation propagates it everywhere.\r\n\r\n\r\n","author":{"url":"https://github.com/davidmoten","@type":"Person","name":"davidmoten"},"datePublished":"2018-08-23T22:58:31Z","url":"https://github.com/microsoftgraph/msgraph-sdk-java/issues/120"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:896e26ba-f888-ed32-42c5-7fac8596c986 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8038:2CF9FD:176879C:1E43872:6B050D31 |
| html-safe-nonce | 817a32d4bc9bf631ec097bcfdb027402f28dcb5708031621ba42faa67369f51b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDM4OjJDRjlGRDoxNzY4NzlDOjFFNDM4NzI6NkIwNTBEMzEiLCJ2aXNpdG9yX2lkIjoiODc2MjU3OTMxMjU4ODQyNjU0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7a9e1a6b6897458cca4d471dca542bcdbcb778a4834e69c615427ea0c27c3d34 |
| hovercard-subject-tag | issue:353583949 |
| 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/microsoftgraph/msgraph-sdk-java/120/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2c4210bf318a5131d9f38203e8d2b76eea443fdb46da78f550dfdc4d17b2d1c7/microsoftgraph/msgraph-sdk-java/issues/120 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2c4210bf318a5131d9f38203e8d2b76eea443fdb46da78f550dfdc4d17b2d1c7/microsoftgraph/msgraph-sdk-java/issues/120 |
| og:image:alt | Similar to discussion in #116, BaseRequest is not modelled optimally either. The obvious indicator is the very free typing of the send methods: protected |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidmoten |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoftgraph/msgraph-sdk-java git https://github.com/microsoftgraph/msgraph-sdk-java.git |
| octolytics-dimension-user_id | 17304259 |
| octolytics-dimension-user_login | microsoftgraph |
| octolytics-dimension-repository_id | 103300409 |
| octolytics-dimension-repository_nwo | microsoftgraph/msgraph-sdk-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 103300409 |
| octolytics-dimension-repository_network_root_nwo | microsoftgraph/msgraph-sdk-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 | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width