activity: make start/endDate optional - #74
Conversation
🦋 Changeset detectedLatest commit: f845f92 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
📝 WalkthroughWalkthroughThis PR makes the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai Where exactly in the AT Protocol style guide does it require that descriptions of optional fields begin with 'Optional'? I don't see that anywhere in https://atproto.com/guides/lexicon-style-guide. Are you referring to a separate style guide? |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🌐 Web query: 💡 Result: Key rules for optional fields in AT Protocol Lexicon (summary):
Sources: AT Protocol Lexinomicon (style guide) and Lexicon specification. [1] [2] 🌐 Web query: 💡 Result: Summary: In Lexicon schemas, a field is optional if it is not listed in the containing object's Sources: 🌐 Web query: 💡 Result: The AT Protocol Lexicon spec marks optional fields using the phrase "(..., optional)" in the field lists (e.g. "description (string, optional)"). See the Lexicon specification. [1] Source:
The style guide does recommend:
However, there's no prescribed format requiring descriptions to start with "Optional". The optionality of a field is already clearly indicated by its absence from the I was mistaken in my previous review comment, and your current implementation is perfectly fine. The 🐰✨ |
Summary by CodeRabbit
Documentation
Features
✏️ Tip: You can customize this high-level summary in your review settings.