Title: fix: fix global @explain not effective by Zhengcy05 · Pull Request #860 · APIJSON/APIJSON · GitHub
Open Graph Title: fix: fix global @explain not effective by Zhengcy05 · Pull Request #860 · APIJSON/APIJSON
X Title: fix: fix global @explain not effective by Zhengcy05 · Pull Request #860 · APIJSON/APIJSON
Description: Ⅰ. Describe what this PR did This PR fixes the global @Explain propagation logic in AbstractObjectParser. Previously, root-level @Explain was parsed correctly as a global option, but when the framework applied global defaults to table objects, it checked globalSchema instead of globalExplain before injecting KEY_EXPLAIN. As a result, global @Explain only worked when global @Schema was also present. This change updates the condition to check the global explain flag itself, so root-level @Explain now works as documented without depending on @Schema. Ⅱ. Does this pull request fix one issue? fixes #851 Ⅲ. Why don't you add test cases (unit test/integration test)? This repository currently does not have an existing test structure under APIJSONORM/src/test, and this PR keeps the change minimal and focused to a one-line bug fix. The change was verified by compilation and by tracing the request parsing path against the reported issue scenario. Ⅳ. Describe how to verify it Run: mvn -f APIJSONORM/pom.xml -DskipTests compile Ⅴ. Special notes for reviews This is a minimal fix that only corrects the propagation condition for global @Explain. It does not change: subquery behavior object-level @Explain behavior any SQL generation logic beyond the global default injection path
Open Graph Description: Ⅰ. Describe what this PR did This PR fixes the global @Explain propagation logic in AbstractObjectParser. Previously, root-level @Explain was parsed correctly as a global option, but when the frame...
X Description: Ⅰ. Describe what this PR did This PR fixes the global @Explain propagation logic in AbstractObjectParser. Previously, root-level @Explain was parsed correctly as a global option, but when the frame...
Opengraph URL: https://github.com/APIJSON/APIJSON/pull/860
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:67442aa4-bcac-055d-577f-c3ac2a3a24fc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D91C:C5B62:F37809:14AEEDB:6B06579D |
| html-safe-nonce | f725c0b55a455feceda89d48e45a8f6b7c4e46878604d73a52c07fe404b8dad3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTFDOkM1QjYyOkYzNzgwOToxNEFFRURCOjZCMDY1NzlEIiwidmlzaXRvcl9pZCI6IjE4OTk1MjMwNTg4MDk4NTM4NTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a26123ce14507fcf8995466175b08b410736c35f198c545bb7c6439670e25019 |
| hovercard-subject-tag | pull_request:3846684156 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/APIJSON/APIJSON/pull/860/files |
| twitter:image | https://avatars.githubusercontent.com/u/183902842?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/183902842?s=400&v=4 |
| og:image:alt | Ⅰ. Describe what this PR did This PR fixes the global @Explain propagation logic in AbstractObjectParser. Previously, root-level @Explain was parsed correctly as a global option, but when the frame... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6324e6ac990fb6befbec840cc0e102a1071c339bfe8f9826bb12de2e3ba1d297 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/APIJSON/APIJSON git https://github.com/APIJSON/APIJSON.git |
| octolytics-dimension-user_id | 41146037 |
| octolytics-dimension-user_login | APIJSON |
| octolytics-dimension-repository_id | 74359442 |
| octolytics-dimension-repository_nwo | APIJSON/APIJSON |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 74359442 |
| octolytics-dimension-repository_network_root_nwo | APIJSON/APIJSON |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7f0aa75f4141d440c6110dc31af7ea7797abb6c4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width