Skip to content

fix(standard): dereference shallow Members when $expand is unsupported#77

Open
s3rj1k wants to merge 1 commit into
NVIDIA:mainfrom
s3rj1k:fix/get-collection-expand-fallback
Open

fix(standard): dereference shallow Members when $expand is unsupported#77
s3rj1k wants to merge 1 commit into
NVIDIA:mainfrom
s3rj1k:fix/get-collection-expand-fallback

Conversation

@s3rj1k
Copy link
Copy Markdown

@s3rj1k s3rj1k commented May 27, 2026

$expand is OPTIONAL per DSP0266 §6.3; servers that ignore it return Members as shallow { "@odata.id": ... } refs, leaving callers with unpopulated resources. After the collection GET, detect Members with only @OData.* keys and GET each individually. A failed dereference is logged at debug and skipped rather than failing the collection.

$expand is OPTIONAL per DSP0266 §6.3; servers that ignore it return
Members as shallow { "@odata.id": ... } refs, leaving callers with
unpopulated resources. After the collection GET, detect Members with
only @OData.* keys and GET each individually. A failed dereference is
logged at debug and skipped rather than failing the collection.

Signed-off-by: s3rj1k <evasive.gyron@gmail.com>
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented May 27, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

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