Loading
docs: explain slice options in the API support guide
Summary
Clarify the API support guide’s option-field examples. Explain when optional scalar fields need pointers, how empty slices are omitted from list queries, and how to send an explicit empty JSON array with omitzero.
Related to #2298. The breaking API field changes are tracked for release-4.0.
Validation
- Checked the guidance against the repository’s Slice Fields section and contributor examples.
- Verified that only the two outdated passages changed and ran
git diff --check.
AI assisted with drafting and reviewing this documentation change.