Skip to content

docs: fetch-nearest starts from an external id too - #67

Open
olavgg wants to merge 1 commit into
masterfrom
docs/fetch-nearest-external-id
Open

docs: fetch-nearest starts from an external id too#67
olavgg wants to merge 1 commit into
masterfrom
docs/fetch-nearest-external-id

Conversation

@olavgg

@olavgg olavgg commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Platform branch fix/fetch-nearest-external-id makes POST /resources/fetch-nearest honour the externalId its form always declared; an externalId-only request used to reach the repository with a null id and come back as a 500.

The page carried a caution saying the field was accepted but not read, and a table row saying numeric id only. Both are now wrong for the endpoint and for the Java form, so the caution goes and the row matches fetchRelated's. The Python and Rust clients still build the request from a numeric id alone, so the resolve-with-by_ids advice stays, scoped to them, and the example comments say which client the constraint belongs to rather than blaming the endpoint.

Verified: npm run build succeeds.

Platform branch fix/fetch-nearest-external-id makes POST /resources/fetch-nearest
honour the externalId its form always declared; an externalId-only request used
to reach the repository with a null id and come back as a 500.

The page carried a caution saying the field was accepted but not read, and a
table row saying numeric id only. Both are now wrong for the endpoint and for
the Java form, so the caution goes and the row matches fetchRelated's. The
Python and Rust clients still build the request from a numeric id alone, so
the resolve-with-by_ids advice stays, scoped to them, and the example comments
say which client the constraint belongs to rather than blaming the endpoint.

Verified: npm run build succeeds.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Olav Gjerde <olav@intellistream.ai>
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.

1 participant