Title: Unclear javadoc in Instrumentation regarding return value · Issue #2806 · graphql-java/graphql-java · GitHub
Open Graph Title: Unclear javadoc in Instrumentation regarding return value · Issue #2806 · graphql-java/graphql-java
X Title: Unclear javadoc in Instrumentation regarding return value · Issue #2806 · graphql-java/graphql-java
Description: The Instrumentation docs seem to imply that you can return null InstrumentationContext, while in fact it will cause a NPE. We should reference the private static final InstrumentationContext
Open Graph Description: The Instrumentation docs seem to imply that you can return null InstrumentationContext, while in fact it will cause a NPE. We should reference the private static final InstrumentationContext X Description: The Instrumentation docs seem to imply that you can return null InstrumentationContext, while in fact it will cause a NPE. We should reference the private static final InstrumentationContext<Obj...
Opengraph URL: https://github.com/graphql-java/graphql-java/issues/2806
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unclear javadoc in Instrumentation regarding return value","articleBody":"The `Instrumentation` docs seem to imply that you can return `null` InstrumentationContext, while in fact it will cause a NPE.\r\n\r\nWe should reference the \r\n```\r\n private static final InstrumentationContext\u003cObject\u003e NO_OP = new SimpleInstrumentationContext\u003c\u003e();\r\n```\r\nas the preferred return value if you don't need a context.","author":{"url":"https://github.com/andimarek","@type":"Person","name":"andimarek"},"datePublished":"2022-04-20T19:30:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2806/graphql-java/issues/2806"}
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:82fd4d32-b7f3-067f-ff97-b9f81d82459b current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id B12E:1BCD0:F911:13272:6A604758 html-safe-nonce cd4a1960bd5f3700f609d31b75d45a6496e8510b726b6be8486f6884cba8cb9b visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTJFOjFCQ0QwOkY5MTE6MTMyNzI6NkE2MDQ3NTgiLCJ2aXNpdG9yX2lkIjoiMjA3ODg2OTY1MzE1MDUxNzA4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac 302a4e51c708793b6835c8322b956fef20cee7c9e4378116da4a3c3fec03e49d hovercard-subject-tag issue:1210123241 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/graphql-java/graphql-java/2806/issue_layout twitter:image https://opengraph.githubassets.com/e47334912b4c3461b108538672d28a3b355ccea7f4f675a048ce40612e45a050/graphql-java/graphql-java/issues/2806 twitter:card summary_large_image og:image https://opengraph.githubassets.com/e47334912b4c3461b108538672d28a3b355ccea7f4f675a048ce40612e45a050/graphql-java/graphql-java/issues/2806 og:image:alt The Instrumentation docs seem to imply that you can return null InstrumentationContext, while in fact it will cause a NPE. We should reference the private static final InstrumentationContext og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username andimarek hostname github.com expected-hostname github.com None 60da8c2a42fa2bbf5f7567474990ec467836a84444262a58e200fa91b7f3d2d0 turbo-cache-control no-preview go-import github.com/graphql-java/graphql-java git https://github.com/graphql-java/graphql-java.git octolytics-dimension-user_id 14289921 octolytics-dimension-user_login graphql-java octolytics-dimension-repository_id 38602457 octolytics-dimension-repository_nwo graphql-java/graphql-java octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 38602457 octolytics-dimension-repository_network_root_nwo graphql-java/graphql-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 9824515e740d83d5eb82168a089b806ab0fe04a1 ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.