Skip to content

Merge stable into develop#899

Merged
gmazoyer merged 1 commit intodevelopfrom
stable
Mar 26, 2026
Merged

Merge stable into develop#899
gmazoyer merged 1 commit intodevelopfrom
stable

Conversation

@infrahub-github-bot-app
Copy link
Copy Markdown
Contributor

Merging stable into develop after merging pull request #895.

When an object specifies an `object_template`, the template provides
default values for mandatory fields (including resource pool
allocations). The client-side validation was rejecting these objects
because mandatory fields like were not present in the YAML data, even
though the server would resolve them from the template.

Skip the mandatory field check in `validate_object()` when
`object_template` is present in the data, allowing the server to
validate template completeness instead.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying infrahub-sdk-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5224d24
Status: ✅  Deploy successful!
Preview URL: https://b0ae5570.infrahub-sdk-python.pages.dev

View logs

@gmazoyer gmazoyer merged commit 334eefb into develop Mar 26, 2026
36 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.

1 participant