chorus/tests
Flori ccf44a5375 Auto updating structs (#163)
* Gateway fields don't need to be pub

* Add store to Gateway

* Add UpdateMessage trait

* Proof of concept: impl UpdateMessage for Channel

* Start working on auto updating structs

* Send entity updates over watch channel

* Add id to UpdateMessage

* Create trait Updateable

* Add documentation

* add gateway test

* Complete test

* Impl UpdateMessage::update() for ChannelUpdate

* Impl UpdateMessage::update() for ChannelUpdate
Co-authored by: SpecificProtagonist <specificprotagonist@posteo.org>

* make channel::modify no longer mutate Channel

* change modify call

* remove unused imports

* Allow dead code with TODO to remove it

* fix channel::modify test

* Update src/gateway.rs

Co-authored-by: SpecificProtagonist <vincentjunge@posteo.net>

---------

Co-authored-by: SpecificProtagonist <vincentjunge@posteo.net>
2023-07-21 15:35:31 +02:00
..
common Join/Leave Guilds, (Group) DMs and minor improvements (#157) 2023-07-17 19:36:28 +02:00
auth.rs remove client side validation 2023-06-25 11:36:37 +02:00
channels.rs Auto updating structs (#163) 2023-07-21 15:35:31 +02:00
gateway.rs Auto updating structs (#163) 2023-07-21 15:35:31 +02:00
guilds.rs Join/Leave Guilds, (Group) DMs and minor improvements (#157) 2023-07-17 19:36:28 +02:00
instance.rs Add instance tests 2023-05-27 22:51:57 +02:00
invites.rs Join/Leave Guilds, (Group) DMs and minor improvements (#157) 2023-07-17 19:36:28 +02:00
members.rs Join/Leave Guilds, (Group) DMs and minor improvements (#157) 2023-07-17 19:36:28 +02:00
messages.rs Fix: message file attachment duplication (#159) 2023-07-17 23:26:25 +02:00
relationships.rs Join/Leave Guilds, (Group) DMs and minor improvements (#157) 2023-07-17 19:36:28 +02:00
roles.rs always use Snowflakes in args 2023-06-22 18:55:19 +02:00