Comments (7)
Quick audit of the use of "optional" within the cloudevents
directory of this repo:
- Lots of descriptions of what OPTIONAL means
- Support for any extension is optional
- WebHook-Request-Callback header is optional
- Description of various attributes as optional
- JSON numbers have an optional
-
prefix (optional in terms of syntax only, of course - required for negative numbers!) - Whitespace is optional around header values in HTTP and NATS
- Kafka: "This spec provides an OPTIONAL definition to map the key section of the Kafka record, without constraining the user to implement it nor use it." (Would need to look more carefully to see what that means)
- Data element being optional in XML format
So I think it would be reasonably straightforward to tweak the spec to use "optional" only in terms of "this aspect of data may be present or absent" and use MAY to define features that conformant implementations don't have to implement.
from spec.
My next step will be to create a draft PR to separate optionality of data from optionality of implementation, but I haven't made any progress on this yet.
from spec.
This issue is stale because it has been open for 30 days with no
activity. Mark as fresh by updating e.g., adding the comment /remove-lifecycle stale
.
from spec.
/remove-lifecycle stale
from spec.
This issue is stale because it has been open for 30 days with no
activity. Mark as fresh by updating e.g., adding the comment /remove-lifecycle stale
.
from spec.
/remove-lifecycle stale
from spec.
This issue is stale because it has been open for 30 days with no
activity. Mark as fresh by updating e.g., adding the comment /remove-lifecycle stale
.
from spec.
Related Issues (20)
- Add @GrahamCampbell to @sdk-php-maintainers HOT 2
- [Question] How to propose "Protocol binding" for new message broker? HOT 5
- Clean-up our OSS page HOT 2
- Change constraint to OPTIONAL of authtype for Auth Context extension. HOT 1
- Create a PR for SDK.md to provide rules/guidelines on strictness HOT 1
- Create a PR with some tweaks to the wording about relationship of context attrs and data HOT 1
- authcontext suggests putting sensitive data in event attributes HOT 5
- Might refine the definition of the terminology - Producer HOT 5
- Unclear Size limits HOT 2
- Clarify CESQL AND and OR evaluation HOT 3
- Add sdk-swift support HOT 4
- Extend possible responses for create subscription request with 202 HOT 3
- How to deal with multiple data sections in AMQP? HOT 7
- AsyncAPI v3 Trait for CloudEvents HOT 10
- Broken TOC Links in Translated Cloudevents Docs HOT 3
- CESQL v1 review HOT 15
- Should attribute names be allowed to start with a digit? HOT 3
- Improve Privacy and Security section in spec HOT 4
- Enable OpenSSF Scorecard to enhance security practices across the project
- Adding zero trust to cloudevents HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spec.