Title: Improve IRequestBuilder · Issue #31 · microsoftgraph/msgraph-sdk-java · GitHub
Open Graph Title: Improve IRequestBuilder · Issue #31 · microsoftgraph/msgraph-sdk-java
X Title: Improve IRequestBuilder · Issue #31 · microsoftgraph/msgraph-sdk-java
Description: As far as I can see, every non-abstract implementation of IRequestBuilder has these methods: T buildRequest(); T buildRequest(final java.util.List extends Option> requestOptions); where T is the return type in the implementation. A sim...
Open Graph Description: As far as I can see, every non-abstract implementation of IRequestBuilder has these methods: T buildRequest(); T buildRequest(final java.util.List extends Option> requestOptions); where T is the ...
X Description: As far as I can see, every non-abstract implementation of IRequestBuilder has these methods: T buildRequest(); T buildRequest(final java.util.List<? extends Option> requestOptions); where T i...
Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-java/issues/31
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve IRequestBuilder","articleBody":"As far as I can see, every non-abstract implementation of IRequestBuilder has these methods:\nT buildRequest();\nT buildRequest(final java.util.List\u003c? extends Option> requestOptions);\nwhere T is the return type in the implementation.\nA simplification is then to move those methods to IRequestBuilder and add a generic type to IRequestBuilder corresponding to the return type (after all if there is one method that I expect to see on a RequestBuilder it is buildRequest!).\nFor example, this interface:\npublic interface IBaseAttachmentRequestBuilder extends IRequestBuilder {\n IAttachmentRequest buildRequest();\n IAttachmentRequest buildRequest(final java.util.List\u003c? extends Option> requestOptions);\n...\nwould become:\npublic interface IBaseAttachmentRequestBuilder extends IRequestBuilder\u003cIAttachmentRequest> {\n...\nThere are some flow on effects to abstract classes like BaseRequestBuilder but I think the generic type can be added to those classes also without issue.\n[AB#6042](https://microsoftgraph.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_workitems/edit/6042)","author":{"url":"https://github.com/davidmoten","@type":"Person","name":"davidmoten"},"datePublished":"2018-01-22T22:59:29Z","url":"https://github.com/microsoftgraph/msgraph-sdk-java/issues/31"}
| 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:acaba420-ded1-a910-4939-b76bd79600d6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D752:7C906:182318:205935:6B050F21 |
| html-safe-nonce | da3e384e25fff29e4efc6d3592e64ecc1fb553d38c212c7abc20b30ee403f53a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzUyOjdDOTA2OjE4MjMxODoyMDU5MzU6NkIwNTBGMjEiLCJ2aXNpdG9yX2lkIjoiMTkyNzAwMDYxMDMwMjEzNjA5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f687309a64d37d406976ad351b7eb68c3aaae86b1de519e714961bb496c925eb |
| hovercard-subject-tag | issue:290646780 |
| 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/31/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ee98df468e151a80daa9009a47e933d5617d49f8c4c486c19708146fa11cfa55/microsoftgraph/msgraph-sdk-java/issues/31 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ee98df468e151a80daa9009a47e933d5617d49f8c4c486c19708146fa11cfa55/microsoftgraph/msgraph-sdk-java/issues/31 |
| og:image:alt | As far as I can see, every non-abstract implementation of IRequestBuilder has these methods: T buildRequest(); T buildRequest(final java.util.List extends Option> requestOptions); where T is the ... |
| 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