René's URL Explorer Experiment


Title: 建议:在输入引用赋值顺序错误时给出更明显的提示 · Issue #275 · APIJSON/APIJSON · GitHub

Open Graph Title: 建议:在输入引用赋值顺序错误时给出更明显的提示 · Issue #275 · APIJSON/APIJSON

X Title: 建议:在输入引用赋值顺序错误时给出更明显的提示 · Issue #275 · APIJSON/APIJSON

Description: 引用赋值需要请求中先出现原始值,然后才能被引用,如果顺序相反则引用无法成功。但是在使用 Request 表对输入进行校验时,引用赋值出现的位置(Request 表中)和用户实际使用的位置(POST 请求体)并不相同,在用户请求中因为顺序错误导致引用赋值失败时,给出的错误提示不够明显,导致排错十分困难。希望能给出更明显的提示。 问题场景:APIJSONBoot 示例项目中,有 User, Privacy 两表,其中用户注册时,请求会和 Request 表中对应项 (met...

Open Graph Description: 引用赋值需要请求中先出现原始值,然后才能被引用,如果顺序相反则引用无法成功。但是在使用 Request 表对输入进行校验时,引用赋值出现的位置(Request 表中)和用户实际使用的位置(POST 请求体)并不相同,在用户请求中因为顺序错误导致引用赋值失败时,给出的错误提示不够明显,导致排错十分困难。希望能给出更明显的提示。 问题场景:APIJSONBoot 示例项目中,有 User, Pr...

X Description: 引用赋值需要请求中先出现原始值,然后才能被引用,如果顺序相反则引用无法成功。但是在使用 Request 表对输入进行校验时,引用赋值出现的位置(Request 表中)和用户实际使用的位置(POST 请求体)并不相同,在用户请求中因为顺序错误导致引用赋值失败时,给出的错误提示不够明显,导致排错十分困难。希望能给出更明显的提示。 问题场景:APIJSONBoot 示例项目中,有 User, Pr...

Opengraph URL: https://github.com/APIJSON/APIJSON/issues/275

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"建议:在输入引用赋值顺序错误时给出更明显的提示","articleBody":"引用赋值需要请求中先出现原始值,然后才能被引用,如果顺序相反则引用无法成功。但是在使用 Request 表对输入进行校验时,引用赋值出现的位置(Request 表中)和用户实际使用的位置(POST 请求体)并不相同,在用户请求中因为顺序错误导致引用赋值失败时,给出的错误提示不够明显,导致排错十分困难。希望能给出更明显的提示。\r\n\r\n问题场景:APIJSONBoot 示例项目中,有 User, Privacy 两表,其中用户注册时,请求会和 Request 表中对应项 (method=POST, tag=register)进行校验,校验规则简化如下,即 `user.id` 依赖于 `privacy.id` 。\r\n\r\n简化后的依赖关系\r\n```json\r\n{\r\n  \"User\": {\r\n    \"UPDATE\": {\"id@\": \"Privacy/id\"}\r\n  },\r\n  \"Privacy\": {}\r\n}\r\n```\r\n在实际发起请求的时候,Requestbody 中需要 `Privacy` 在上,`User` 在下,如果顺序反过来,用户注册本身不会成功(数据库中无写入操作),但是请求显示正常完成(code=200)。\r\n\r\n错误请求例(method=POST, addr=/post)\r\n```json\r\n{\r\n    \"User\": {\r\n        \"name\": \"test\"\r\n    },\r\n    \"Privacy\": {\r\n        \"phone\": \"13323332338\",\r\n        \"_password\": \"testpwd\"\r\n    },\r\n    \"verify\": \"9816\",\r\n    \"tag\": \"register\"\r\n}\r\n```\r\n\r\n此情况下返回值(返回200,但 sql.execute 为0)\r\n```json\r\n{\r\n    \"ok\": true,\r\n    \"code\": 200,\r\n    \"msg\": \"success\",\r\n    \"sql:generate|cache|execute|maxExecute\": \"0|0|0|200\",\r\n    \"depth:count|max\": \"1|5\",\r\n    \"time:start|duration|end\": \"1627506120546|7|1627506120553\"\r\n}\r\n```","author":{"url":"https://github.com/jerrylususu","@type":"Person","name":"jerrylususu"},"datePublished":"2021-07-28T21:10:14Z","url":"https://github.com/APIJSON/APIJSON/issues/275"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2f29ac45-b144-3e7c-7cbb-07bc8ada3d67
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id838C:2AABF1:1A7351B:252CD41:6AFD07CB
html-safe-nonced7d6e41495ab26f7f6db6583ad9ae16f35a32c11f2b4a8cd44557d8364a684bc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzhDOjJBQUJGMToxQTczNTFCOjI1MkNENDE6NkFGRDA3Q0IiLCJ2aXNpdG9yX2lkIjoiMTYwNDU1OTc0NTg5NTQzNDE4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1ec1d34e0834b4c4068d6c26f3bc8fcfa7e28d85e3010d1ddb674d41891075bc
hovercard-subject-tagissue:955236636
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/APIJSON/APIJSON/275/issue_layout
twitter:imagehttps://opengraph.githubassets.com/79ccddff624544152bbdcfdfbd7ddd5984f62cfaa01d2ac5a5113d774bd52584/APIJSON/APIJSON/issues/275
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/79ccddff624544152bbdcfdfbd7ddd5984f62cfaa01d2ac5a5113d774bd52584/APIJSON/APIJSON/issues/275
og:image:alt引用赋值需要请求中先出现原始值,然后才能被引用,如果顺序相反则引用无法成功。但是在使用 Request 表对输入进行校验时,引用赋值出现的位置(Request 表中)和用户实际使用的位置(POST 请求体)并不相同,在用户请求中因为顺序错误导致引用赋值失败时,给出的错误提示不够明显,导致排错十分困难。希望能给出更明显的提示。 问题场景:APIJSONBoot 示例项目中,有 User, Pr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejerrylususu
hostnamegithub.com
expected-hostnamegithub.com
None8fd5a24ae29aa78df114eaaf1f9a839e8c3b7c0d27549e4f54678bb7cf3166d4
turbo-cache-controlno-preview
go-importgithub.com/APIJSON/APIJSON git https://github.com/APIJSON/APIJSON.git
octolytics-dimension-user_id41146037
octolytics-dimension-user_loginAPIJSON
octolytics-dimension-repository_id74359442
octolytics-dimension-repository_nwoAPIJSON/APIJSON
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id74359442
octolytics-dimension-repository_network_root_nwoAPIJSON/APIJSON
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedd0990b833f227378ab84f1d9519db1a04660550
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/APIJSON/APIJSON/issues/275#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAPIJSON%2FAPIJSON%2Fissues%2F275
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAPIJSON%2FAPIJSON%2Fissues%2F275
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=APIJSON%2FAPIJSON
Reloadhttps://github.com/APIJSON/APIJSON/issues/275
Reloadhttps://github.com/APIJSON/APIJSON/issues/275
Reloadhttps://github.com/APIJSON/APIJSON/issues/275
APIJSONhttps://github.com/APIJSON
APIJSONhttps://github.com/APIJSON/APIJSON
Codehttps://github.com/APIJSON/APIJSON
Issues237 (237)https://github.com/APIJSON/APIJSON/issues
Pull requestshttps://github.com/APIJSON/APIJSON/pulls
Actionshttps://github.com/APIJSON/APIJSON/actions
Wikihttps://github.com/APIJSON/APIJSON/wiki
Security and qualityhttps://github.com/APIJSON/APIJSON/security
Insightshttps://github.com/APIJSON/APIJSON/insights
https://github.com/APIJSON/APIJSON
New issuehttps://github.com/login?return_to=https://github.com/APIJSON/APIJSON/issues/275
New issuehttps://github.com/login?return_to=https://github.com/APIJSON/APIJSON/issues/275
#876https://github.com/APIJSON/APIJSON/pull/876
建议:在输入引用赋值顺序错误时给出更明显的提示https://github.com/APIJSON/APIJSON/issues/275#top
#876https://github.com/APIJSON/APIJSON/pull/876
Bug 漏洞https://github.com/APIJSON/APIJSON/issues?q=state%3Aopen%20label%3A%22Bug%20%E6%BC%8F%E6%B4%9E%22
https://github.com/jerrylususu
jerrylususuhttps://github.com/jerrylususu
on Jul 28, 2021https://github.com/APIJSON/APIJSON/issues/275#issue-955236636
https://github.com/jerrylususu
jerrylususuhttps://github.com/jerrylususu
on Jul 28, 2021https://github.com/APIJSON/APIJSON/issues/275#issuecomment-888638090
https://github.com/TommyLemon
TommyLemonhttps://github.com/TommyLemon
on Jul 31, 2021https://github.com/APIJSON/APIJSON/issues/275#issuecomment-890380601
https://github.com/Tencent/APIJSON/blob/3ccd9674ce572e36907dd961ae9386e31abc2483/APIJSONORM/src/main/java/apijson/orm/AbstractObjectParser.javahttps://github.com/Tencent/APIJSON/blob/3ccd9674ce572e36907dd961ae9386e31abc2483/APIJSONORM/src/main/java/apijson/orm/AbstractObjectParser.java
https://user-images.githubusercontent.com/5738175/127748109-90925848-0b70-4e7b-bdc1-18714faba5a4.png
https://github.com/Tencent/APIJSON/blob/master/CONTRIBUTING.mdhttps://github.com/Tencent/APIJSON/blob/master/CONTRIBUTING.md
https://user-images.githubusercontent.com/5738175/127748224-d1d6290f-7a79-4e78-b032-b72e1079aa27.png
TommyLemonhttps://github.com/TommyLemon
Bug 漏洞https://github.com/APIJSON/APIJSON/issues?q=state%3Aopen%20label%3A%22Bug%20%E6%BC%8F%E6%B4%9E%22
on Aug 5, 2021https://github.com/APIJSON/APIJSON/issues/275#event-5114971439
https://github.com/henriquejsza
henriquejszahttps://github.com/henriquejsza
on Aug 30, 2026https://github.com/APIJSON/APIJSON/issues/275#issuecomment-5469729042
https://github.com/TommyLemon
TommyLemonhttps://github.com/TommyLemon
on Aug 31, 2026https://github.com/APIJSON/APIJSON/issues/275#issuecomment-5480938388
@henriquejszahttps://github.com/henriquejsza
TommyLemonhttps://github.com/TommyLemon
completedhttps://github.com/APIJSON/APIJSON/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#876https://github.com/APIJSON/APIJSON/pull/876
on Sep 1, 2026https://github.com/APIJSON/APIJSON/issues/275#event-30359642263
TommyLemonhttps://github.com/TommyLemon
on Sep 1, 2026https://github.com/APIJSON/APIJSON/issues/275#event-30359642620
fix: reject unresolved POST and PUT referenceshttps://github.com/APIJSON/APIJSON/commit/ef5c5198e706f77b58305a05591036e5f597539f
https://docs.github.com/articles/closing-issues-via-commit-messages
ef5c519https://github.com/APIJSON/APIJSON/commit/ef5c5198e706f77b58305a05591036e5f597539f
Sign up for freehttps://github.com/signup?return_to=https://github.com/APIJSON/APIJSON/issues/275
Sign in to commenthttps://github.com/login?return_to=https://github.com/APIJSON/APIJSON/issues/275
Bug 漏洞https://github.com/APIJSON/APIJSON/issues?q=state%3Aopen%20label%3A%22Bug%20%E6%BC%8F%E6%B4%9E%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.