Include _locale
Field in Document Response
#13446
jessrynkar
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Add an opt-in option to include the
_locale
field in each document response. This allows clients to explicitly identify which locale the returned document corresponds to, especially useful when a requested locale does not exist and a fallback document is returned.Details
_locale
in the response._locale
field indicates the actual locale of the returned document.ETA
TBD
Background
Original discussion here.
Beta Was this translation helpful? Give feedback.
All reactions