Title: Immutable Query objects · Issue #52 · JavaWebStack/orm · GitHub
Open Graph Title: Immutable Query objects · Issue #52 · JavaWebStack/orm
X Title: Immutable Query objects · Issue #52 · JavaWebStack/orm
Description: Is your feature request related to a problem? Please describe. Right now the Query and QueryGroup classes are built in a builder pattern style way (mutating their own object and returning this). This has a couple advantages but also come...
Open Graph Description: Is your feature request related to a problem? Please describe. Right now the Query and QueryGroup classes are built in a builder pattern style way (mutating their own object and returning this). Th...
X Description: Is your feature request related to a problem? Please describe. Right now the Query and QueryGroup classes are built in a builder pattern style way (mutating their own object and returning this). Th...
Opengraph URL: https://github.com/JavaWebStack/orm/issues/52
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Immutable Query objects","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nRight now the Query and QueryGroup classes are built in a builder pattern style way (mutating their own object and returning this). This has a couple advantages but also comes with several disadvantages and I would generally say that it is bad practice.\r\n\r\n**Describe the solution you'd like**\r\nSince completely changing them to immutable may break existing code and may not be in favor of all users, I would rather add a new .mutable() and .immutable() switch and a default state for new queries in the config.","author":{"url":"https://github.com/JanHolger","@type":"Person","name":"JanHolger"},"datePublished":"2023-09-08T14:08:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/52/orm/issues/52"}
| 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:e55fb474-4f99-2dbe-8d96-18c599f74148 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9DA8:1012B6:2166009:2E4DC88:697CB862 |
| html-safe-nonce | 304b98fd88104ff71cc075f72dd5f5e0e7e742f1ab70bbbbcb27ae1dbf6fb2b9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REE4OjEwMTJCNjoyMTY2MDA5OjJFNERDODg6Njk3Q0I4NjIiLCJ2aXNpdG9yX2lkIjoiMTc5ODIyNTI4NDQ0NTI4ODU0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 37f106fc5676b699ab8b8c61e1a8eb19afe1fb2289ccb763920d769199be57cc |
| hovercard-subject-tag | issue:1887763766 |
| 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/52/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aecfe65ba3835a62d8356a8e6806cd9600d080525bbe5f4f4b5b6db95e397425/JavaWebStack/orm/issues/52 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aecfe65ba3835a62d8356a8e6806cd9600d080525bbe5f4f4b5b6db95e397425/JavaWebStack/orm/issues/52 |
| og:image:alt | Is your feature request related to a problem? Please describe. Right now the Query and QueryGroup classes are built in a builder pattern style way (mutating their own object and returning this). Th... |
| 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 | e5b7c8070886a8795f0b157c52ff1573afe644cba6d9f4bdb444c4d1bbd5ce7a |
| 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 | c6c62a2fbb6e21567ca26d22196e1e50df31e54a |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width