Title: Skip FileListPreprocessor for autofill=false parameters by imagejan · Pull Request #423 · scijava/scijava-common · GitHub
Open Graph Title: Skip FileListPreprocessor for autofill=false parameters by imagejan · Pull Request #423 · scijava/scijava-common
X Title: Skip FileListPreprocessor for autofill=false parameters by imagejan · Pull Request #423 · scijava/scijava-common
Description: This pull request is a work in progress. This pull request changes the API of ModuleService and DefaultModuleService to include an optional parameter boolean acrossTypes that allows checking for solitary unresolved parameters within all inputs/outputs independent of their type, while maintaining the backwards-compatible method signatures. This allows to replace some duplicated logic in helper methods of FilePreprocessor and FileListPreprocessor by a call to moduleService.getSingleInput(), which makes them respect an autoFill=false parameter annotation and avoid calling uiService.chooseFile/chooseFiles for those parameters. The intended behavior is verified by two new tests that, before this PR, were failing on their last assertion. NB: The tests added here call uiService.setHeadless(false) in order to set their custom default UI.
Open Graph Description: This pull request is a work in progress. This pull request changes the API of ModuleService and DefaultModuleService to include an optional parameter boolean acrossTypes that allows checking for so...
X Description: This pull request is a work in progress. This pull request changes the API of ModuleService and DefaultModuleService to include an optional parameter boolean acrossTypes that allows checking for so...
Opengraph URL: https://github.com/scijava/scijava-common/pull/423
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:27cc6ac1-f3e0-26ca-5df4-bf3e8df85ed1 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D4A2:37DD1D:4EF71A7:6B215B7:6973147C |
| html-safe-nonce | dc5705784807dc0b8795602a021334f93f0ecc1c0a0b789766df9e13ad726e61 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEEyOjM3REQxRDo0RUY3MUE3OjZCMjE1Qjc6Njk3MzE0N0MiLCJ2aXNpdG9yX2lkIjoiODUwNjIwNzQ2NjIxMzgwNzIyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a80dc384856d1c8dd0541dd09ee88fb71a7b40e2f5e9f44b9e3449b90b573927 |
| hovercard-subject-tag | pull_request:644167649 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/scijava/scijava-common/pull/423/checks |
| twitter:image | https://avatars.githubusercontent.com/u/2033938?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2033938?s=400&v=4 |
| og:image:alt | This pull request is a work in progress. This pull request changes the API of ModuleService and DefaultModuleService to include an optional parameter boolean acrossTypes that allows checking for so... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4 |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a5e2b48bd1260476599758f5d253b5d24092ab84 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width