Skip to content

fix(core): allow server-populated required parent attributes - #666

Closed
marcschier wants to merge 2 commits into
xregistry:mainfrom
marcschier:fix/spec-584-implicit-parent-values
Closed

marcschier wants to merge 2 commits into
xregistry:mainfrom
marcschier:fix/spec-584-implicit-parent-values

Conversation

@marcschier

Copy link
Copy Markdown
Contributor

Fixes #584

Reject implicit parent creation when an applicable REQUIRED non-null value cannot be populated by server processing or defaults, rather than merely because the parent has REQUIRED attributes. Keep implicit ID population, required_attribute_missing, required/default constraints, and whole-request rollback.

Validation: focused source regressions went from 1 failed / 5 passed to 6 passed; full tools suite: 73 passed. Actual Core file/local-link verification, repository spelling (including added text), whitespace, error catalog, backticks, and href checks passed. Local validation used isolated Python 3.13 / aiohttp 3.14.3 without changing dependency pins.

Tests inspect the actual required/default rules, absent owning-object boundary, error contract, and rollback requirements; they are not simulated server transaction tests.

Release note: Clarify implicit parent creation when required values can be supplied by the server or defaults.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
@marcschier

Copy link
Copy Markdown
Contributor Author

Superseded by xregistry/spec#723 (bundle B). The selected substantive changes at reviewed head f60b7ec are mapped in those replacement descriptions, with this original discussion and issue provenance retained.

Specification-text assertions and synthetic policy-test Python were deliberately omitted; qualifying real-artifact checks were retained or pruned as documented. Unmodified baseline Python and historical source branches are preserved.

Verified immediately before closing: xregistry/spec#723 at 1866531: verify and DCO both passed.

Closing only this fully superseded original. Separate d/e proposals remain open, and no source branch is deleted.

@marcschier marcschier closed this Sep 15, 2026
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.

Limit implicit-parent rejection to required values that cannot be populated

1 participant