Title: [Feature] 对 PUT 默认支持条件,不传 @combine 也行 · Issue #277 · APIJSON/APIJSON · GitHub
Open Graph Title: [Feature] 对 PUT 默认支持条件,不传 @combine 也行 · Issue #277 · APIJSON/APIJSON
X Title: [Feature] 对 PUT 默认支持条件,不传 @combine 也行 · Issue #277 · APIJSON/APIJSON
Description: 具体说下 目前不支持直接作为条件,如果不传 @combine 就报错了。 可以把带功能符号的键值对默认作为条件,例如 "content~": "a" "contactIdList<>": 82001 等。 判断方式为 StringUtil.isName(key) == false 为什么 方便使用,满足更多场景。 可能的问题: 前端过于灵活,后端可能不好保证安全? 目前强制传 id / id{} ,应该能保证。不让前端传带功能符的键值对,应该后端 Request 表配置。
Open Graph Description: 具体说下 目前不支持直接作为条件,如果不传 @combine 就报错了。 可以把带功能符号的键值对默认作为条件,例如 "content~": "a" "contactIdList<>": 82001 等。 判断方式为 StringUtil.isName(key) == false 为什么 方便使用,满足更多场景。 可能的问题: 前端过于灵活,后端可能不好保证安全? 目前强制传 id / id...
X Description: 具体说下 目前不支持直接作为条件,如果不传 @combine 就报错了。 可以把带功能符号的键值对默认作为条件,例如 "content~": "a" "contactIdList<>": 82001 等。 判断方式为 StringUtil.isName(key) == false 为什么 方便使用,满足更多场景。 可能的...
Opengraph URL: https://github.com/APIJSON/APIJSON/issues/277
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Feature] 对 PUT 默认支持条件,不传 @combine 也行","articleBody":"**具体说下**\r\n目前不支持直接作为条件,如果不传 @combine 就报错了。\r\n\r\n\r\n可以把带功能符号的键值对默认作为条件,例如 \r\n\"content~\": \"a\"\r\n\"contactIdList\u003c>\": 82001\r\n等。\r\n判断方式为 StringUtil.isName(key) == false\r\n\r\n**为什么**\r\n方便使用,满足更多场景。\r\n\r\n可能的问题:\r\n前端过于灵活,后端可能不好保证安全?\r\n目前强制传 id / id{} ,应该能保证。不让前端传带功能符的键值对,应该后端 Request 表配置。","author":{"url":"https://github.com/TommyLemon","@type":"Person","name":"TommyLemon"},"datePublished":"2021-07-30T03:53:05Z","url":"https://github.com/APIJSON/APIJSON/issues/277"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:03ef91a4-45ba-d454-2ba1-c01ea8765d59 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9ABA:3B68C7:A32544:E79CCD:6AFCB71F |
| html-safe-nonce | 580db542e0c5c33cc005ecaf179a4ffadb2a21b0ca764cb7786aeeafa80eaba8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUJBOjNCNjhDNzpBMzI1NDQ6RTc5Q0NEOjZBRkNCNzFGIiwidmlzaXRvcl9pZCI6IjE2MjA5NjE4MjY1NjY4NzkwMDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8e21d8af176a1f74445e34b801713092e50f0ee38d4f42d119ca466914bf2a66 |
| hovercard-subject-tag | issue:956376245 |
| 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/APIJSON/APIJSON/277/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b61f5b0e94d8670a72f69edd79d01a095761c064849bc0a16863c9422ab4a6de/APIJSON/APIJSON/issues/277 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b61f5b0e94d8670a72f69edd79d01a095761c064849bc0a16863c9422ab4a6de/APIJSON/APIJSON/issues/277 |
| og:image:alt | 具体说下 目前不支持直接作为条件,如果不传 @combine 就报错了。 可以把带功能符号的键值对默认作为条件,例如 "content~": "a" "contactIdList<>": 82001 等。 判断方式为 StringUtil.isName(key) == false 为什么 方便使用,满足更多场景。 可能的问题: 前端过于灵活,后端可能不好保证安全? 目前强制传 id / id... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TommyLemon |
| hostname | github.com |
| expected-hostname | github.com |
| None | e3084aead77cbcb4f4904fba53851fa1a0546b0dec3619bd250815e72588dc6d |
| turbo-cache-control | no-preview |
| go-import | github.com/APIJSON/APIJSON git https://github.com/APIJSON/APIJSON.git |
| octolytics-dimension-user_id | 41146037 |
| octolytics-dimension-user_login | APIJSON |
| octolytics-dimension-repository_id | 74359442 |
| octolytics-dimension-repository_nwo | APIJSON/APIJSON |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 74359442 |
| octolytics-dimension-repository_network_root_nwo | APIJSON/APIJSON |
| 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 | 5410e4bebd3e45b138c853ecef3992279d86d5af |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width