File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -312,6 +312,14 @@ enum UserRole{
312
312
/// in <https://zulip.com/api/register-queue>.
313
313
@JsonSerializable (fieldRename: FieldRename .snake)
314
314
class ZulipStream {
315
+ // When adding a field to this class:
316
+ // * If a [ChannelUpdateEvent] can update it, be sure to add
317
+ // that case as a field of [ChannelUpdateEvent] or as a new value to
318
+ // [ChannelPropertyName] enum; based on what the stream-update API suggests.
319
+ // * If the field can never change for a given Zulip stream, mark it final.
320
+ // * (If it can change but [ChannelUpdateEvent] doesn't cover that,
321
+ // then that's a bug in the API; raise it in `#api design`.)
322
+
315
323
final int streamId;
316
324
String name;
317
325
String description;
You can’t perform that action at this time.
0 commit comments