Title: Preserve more information for CONST values · Issue #98 · code11/engine · GitHub
Open Graph Title: Preserve more information for CONST values · Issue #98 · code11/engine
X Title: Preserve more information for CONST values · Issue #98 · code11/engine
Description: The AST for operations includes only the reference for a certain value: { "name": { "type": "UPDATE", "path": [{ type: "CONST", value: foo}, { type: "CONST", value: "bar"] } } When using variables the name is not preserved and cannot be ...
Open Graph Description: The AST for operations includes only the reference for a certain value: { "name": { "type": "UPDATE", "path": [{ type: "CONST", value: foo}, { type: "CONST", value: "bar"] } } When using variables ...
X Description: The AST for operations includes only the reference for a certain value: { "name": { "type": "UPDATE", "path": [{ type: "CONST", value: foo}, { type...
Opengraph URL: https://github.com/code11/engine/issues/98
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Preserve more information for CONST values","articleBody":"The AST for operations includes only the reference for a certain value:\r\n```\r\n{\r\n \"name\": {\r\n \"type\": \"UPDATE\",\r\n \"path\": [{ type: \"CONST\", value: foo}, { type: \"CONST\", value: \"bar\"]\r\n }\r\n}\r\n```\r\n\r\nWhen using variables the name is not preserved and cannot be used later when in debug mode for example:\r\n`Update\u003c[foo].bar\u003e`\r\n\r\nas such the ast should change:\r\n```\r\ntype: \"CONST\", value: { type: \"VARIABLE\", name: \"foo\", ref: foo }\r\ntype: \"CONST\", value: { type: \"STRING\", value: \"foo\" }\r\n```\r\n\r\n\r\n","author":{"url":"https://github.com/dumconstantin","@type":"Person","name":"dumconstantin"},"datePublished":"2020-11-22T11:03:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/98/engine/issues/98"}
| 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:bc385b3c-0835-f0eb-0efe-0f46f527a38d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 800A:2386CF:6FFFCD:9299B0:6990A7F0 |
| html-safe-nonce | fe4cebcab22252c9483fefea60e593c5c0b8e29801fd8eb84d2038a5456b4406 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDBBOjIzODZDRjo2RkZGQ0Q6OTI5OUIwOjY5OTBBN0YwIiwidmlzaXRvcl9pZCI6Ijc0MzMzMTk2MTA1NjMyMDkyMDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6973b51abf8e72c7574a8cc3b79fa61a29001654f262516dd07f269b264fcdba |
| hovercard-subject-tag | issue:748218470 |
| 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/code11/engine/98/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c837d23b8c0292658769199f76ce7d1bf711fc4f3797d8bc30c3a05029165780/code11/engine/issues/98 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c837d23b8c0292658769199f76ce7d1bf711fc4f3797d8bc30c3a05029165780/code11/engine/issues/98 |
| og:image:alt | The AST for operations includes only the reference for a certain value: { "name": { "type": "UPDATE", "path": [{ type: "CONST", value: foo}, { type: "CONST", value: "bar"] } } When using variables ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dumconstantin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/code11/engine git https://github.com/code11/engine.git |
| octolytics-dimension-user_id | 3459120 |
| octolytics-dimension-user_login | code11 |
| octolytics-dimension-repository_id | 255651675 |
| octolytics-dimension-repository_nwo | code11/engine |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 255651675 |
| octolytics-dimension-repository_network_root_nwo | code11/engine |
| 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 | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width