Skip to content

docs: clarify Go schema and status handling - #516

Merged
imbajin merged 1 commit into
apache:masterfrom
hugegraph:fix/doc-go-schema-status
Oct 12, 2026
Merged

imbajin merged 1 commit into
apache:masterfrom
hugegraph:fix/doc-go-schema-status

Conversation

@imbajin

@imbajin imbajin commented Oct 11, 2026 •

Copy link
Copy Markdown
Member

The Go guide lists edge-label creation without explaining that nil or empty properties are valid, and its Gremlin example reads data after checking only err. Explain the schema contract and check both HTTP and Gremlin status before using results in the English and Chinese guides.

Paired code PR: ASF #807. Coordinate the documentation merge with the code PR.

Validation: unchanged link validator, diff checks, bilingual example compilation and a fresh latest strict build passed with cached Hugo 0.165 Extended, Python 3.13 and WebP tools. Generated pages contain the new guidance and status checks. Independent documentation review passed.

Source org PR: #43. This uses the same source branch and commit after the current-head org site checks pass.

Change diagram

Propertyless edge labels and layered HTTP/Gremlin status checks in the Go client guide. This conceptual diagram supplements the bilingual examples above.
Go edge schema and response status checks

- document nil and empty edge label properties
- distinguish HTTP status from Go request errors
- check HTTP and Gremlin status in the example
@imbajin
imbajin merged commit 2d0b830 into apache:master Oct 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants