Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addition of template-mutability extension #15

Open
wants to merge 1 commit into
base: extensions
Choose a base branch
from

Conversation

Lcfvs
Copy link

@Lcfvs Lcfvs commented Jun 28, 2019

No description provided.

@mamund
Copy link
Owner

mamund commented Jun 29, 2019

Since this extension has two properties which have a relationship between them, we should also make explicity how to handle msgs that have one or both properties missing and/or one or both properties with an invalid value.

I think the easiest way to handle this is to explicitly state how message consumers should treat responses (e.g.)

  • When the mutability property is missing or contains an invalid value, the response SHOULD be treated as if mutability is set to true.
  • When the readOnly property is missing or contains an invalid value, the response SHOULD be treated as if readOnly is set to false.
  • A response MUST NOT be rejected if one or more of the properties in this extension is missing or the value is invalid.

Feel free to mod your extension as you see fit.

also, be sure to post a message to the forum to announce the extension and ilicit feedback.

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