Skip to content

compiler/core/redfish: odata type in resources & collections only#30

Merged
poroh merged 1 commit intoNVIDIA:mainfrom
poroh:odata-type-only-in-resources-and-collections
Feb 19, 2026
Merged

compiler/core/redfish: odata type in resources & collections only#30
poroh merged 1 commit intoNVIDIA:mainfrom
poroh:odata-type-only-in-resources-and-collections

Conversation

@poroh
Copy link
Copy Markdown
Contributor

@poroh poroh commented Feb 19, 2026

Redfish specification defines where @odata.type should present and this is Resources and Collections.
Previous implementation required @odata.type in ReferenceableMember that was wrong.

This change fixes code generation and removes corresponding patch for WYWINN GB200.

In addition, because previous code relied on @odata.type to distinguish between expanded / non-expanded navigation property this code was refactored and finally should produce better errors in case of wrong json response.

Signed-off-by: Dmitry Porokh <dporokh@nvidia.com>
@poroh poroh requested a review from yoks February 19, 2026 04:19
@poroh poroh merged commit 4593229 into NVIDIA:main Feb 19, 2026
1 of 2 checks passed
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.

2 participants