Skip to content

Revise default value design doc to match recent updates#1412

Merged
mtdowling merged 1 commit intomainfrom
revise-default-value-design-doc
Sep 19, 2022
Merged

Revise default value design doc to match recent updates#1412
mtdowling merged 1 commit intomainfrom
revise-default-value-design-doc

Conversation

@mtdowling
Copy link
Copy Markdown
Member

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mtdowling mtdowling requested a review from a team as a code owner September 17, 2022 00:08
@mtdowling mtdowling merged commit 4504cd0 into main Sep 19, 2022

### Updating default values

The default value of a member MAY be changed. The default value of a root-level
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a SHOULD NOT below. The MAY sentence can be removed here.

the shape, and could break other models that refer to a shape defined in a
shared model.

The default value of a member SHOULD NOT be changed. However, it MAY be
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is implied that this applies only when the member has a default without the target root level shape having a default, but maybe worth calling it out.
The default value of a member (that targets a shape without a default value) SHOULD NOT be changed.

@mtdowling mtdowling deleted the revise-default-value-design-doc branch October 24, 2022 16:26
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.

3 participants