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: github.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:527c2d5c-4ab5-cdf1-0254-e470b67e1bf2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 956C:3FA319:C138C:10B927:697C615A |
| html-safe-nonce | c8ab67b694e5be32bd80e90c973c6c6e220d8b6ca4866122539d9193be404f37 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTZDOjNGQTMxOTpDMTM4QzoxMEI5Mjc6Njk3QzYxNUEiLCJ2aXNpdG9yX2lkIjoiODIzNzY1NDgwOTE0Njg0MzQ4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c58c1c5b98c0851d53a95ede34d218d446ff01151fde29373943f5e0be33c706 |
| 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 | da4f0ee56809799586f8ee546b27f94fe9b5893edfbf87732e82be45be013b52 |
| 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 | 787d8d274e314f52ce6d846c7581f9476d8dc736 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width