Title: Don't render empty groups · Issue #36 · JavaWebStack/orm · GitHub
Open Graph Title: Don't render empty groups · Issue #36 · JavaWebStack/orm
X Title: Don't render empty groups · Issue #36 · JavaWebStack/orm
Description: Is your feature request related to a problem? Please describe. Currently creating an empty group using .and(q -> q) or .or(q -> q) will result in an empty expression group which will make the query fail. Describe the solution you'd like ...
Open Graph Description: Is your feature request related to a problem? Please describe. Currently creating an empty group using .and(q -> q) or .or(q -> q) will result in an empty expression group which will make the query...
X Description: Is your feature request related to a problem? Please describe. Currently creating an empty group using .and(q -> q) or .or(q -> q) will result in an empty expression group which will make the...
Opengraph URL: https://github.com/JavaWebStack/orm/issues/36
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Don't render empty groups","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nCurrently creating an empty group using `.and(q -\u003e q)` or `.or(q -\u003e q)` will result in an empty expression group which will make the query fail.\r\n\r\n**Describe the solution you'd like**\r\nInstead of producing invalid sql the empty group (and the preceding conjunction) shouldn't be rendered.\r\n\r\n**Describe alternatives you've considered**\r\nAn alternative would be to produce an always false expression but that's probably not what somebody would expect and makes building optional clauses way harder.\r\n","author":{"url":"https://github.com/JanHolger","@type":"Person","name":"JanHolger"},"datePublished":"2022-04-07T15:49:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/36/orm/issues/36"}
| 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:0e8a423f-99a3-fc52-2e86-4ac9de69d773 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8094:16DBA9:647489:83B47E:697D2726 |
| html-safe-nonce | fed0599310c80e3cbeacdbd029fea188871000f2147a0e95f7ab56a6b6df889c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDk0OjE2REJBOTo2NDc0ODk6ODNCNDdFOjY5N0QyNzI2IiwidmlzaXRvcl9pZCI6IjgzMDQ0NTAyODY1NjMxNzQxODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f6748d358467d41a00f49c7eb46a1296022c986dd0fb78c29e3fd72d00b060b2 |
| hovercard-subject-tag | issue:1196237460 |
| 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/JavaWebStack/orm/36/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f7248c4228217a8a0e8fe316760b4f29942837e23821babbe07ca75f49c35e18/JavaWebStack/orm/issues/36 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f7248c4228217a8a0e8fe316760b4f29942837e23821babbe07ca75f49c35e18/JavaWebStack/orm/issues/36 |
| og:image:alt | Is your feature request related to a problem? Please describe. Currently creating an empty group using .and(q -> q) or .or(q -> q) will result in an empty expression group which will make the query... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JanHolger |
| hostname | github.com |
| expected-hostname | github.com |
| None | 85f2067815dbbcfc3c95ddc086aaa4bb85c804c8c1fb2c0a58abac2793271b0b |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaWebStack/orm git https://github.com/JavaWebStack/orm.git |
| octolytics-dimension-user_id | 73674659 |
| octolytics-dimension-user_login | JavaWebStack |
| octolytics-dimension-repository_id | 308479502 |
| octolytics-dimension-repository_nwo | JavaWebStack/orm |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 308479502 |
| octolytics-dimension-repository_network_root_nwo | JavaWebStack/orm |
| 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 | 2c8ad0f3fda6467e88f69a0b1fb9a04f96d34a4d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width