docs: document fieldpath semantics in Unstructured.SetValue#320
docs: document fieldpath semantics in Unstructured.SetValue#320boxcee-interview wants to merge 1 commit into
Conversation
Signed-off-by: Moritz Schmitz von Hülst <mschmitzvonhuelst@gmail.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA multi-line doc comment is added to ChangesSetValue dot-notation documentation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Closes #49
Summary
Add documentation to the
SetValuemethod oncomposed.Unstructuredexplaining:SetValueSetLabels,SetAnnotations) for setting label/annotation keys with dotsSetLabelsandSetAnnotationsreplace the entire mapHow to Test
Review the godoc comment on
SetValueatresource/composed/composed.go. No behavioral changes — documentation only.Build and tests pass:
go build ./...andgo test ./...