Skip to content

tests: align generated+default materialization with write_defaults#12

Open
callumalpass wants to merge 1 commit intomainfrom
fix/write-defaults-generated-default-test
Open

tests: align generated+default materialization with write_defaults#12
callumalpass wants to merge 1 commit intomainfrom
fix/write-defaults-generated-default-test

Conversation

@callumalpass
Copy link
Copy Markdown
Owner

Summary

Align a conformance expectation with current write_defaults semantics.

  • In generated-default-interaction.yaml, the test create uses generated value not default now expects both code and category to be written.
  • category is default-only and should be materialized when write_defaults is true (default).

Why

Spec text says default-only fields are written when write_defaults is true, but this test previously expected omission for category.

Fixes #11

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.

Conformance mismatch: generated+default test omits default-only field despite write_defaults=true

1 participant