auto-mat / klub

GNU General Public License v3.0
7 stars 9 forks source link

Save event_type to events #427

Closed mrkvon closed 2 years ago

mrkvon commented 2 years ago

Make it possible to save event_type to events. Currently it doesn't seem to be saveable. This is also an issue with possible solution.

https://stackoverflow.com/a/53936521

Created additional writable field event_type_id, which accepts id of a desired event_type.

This will probably break some tests. I haven't run tests successfully.

timthelion commented 2 years ago

Merged: https://github.com/auto-mat/klub/commit/a7497d7f2db2e8ac447d78e91a7575a0444a60eb

Whats wrong with the tests?

mrkvon commented 2 years ago

Whats wrong with the tests?

Interesting, probably nothing. I just didn't deal with them, so I thought a new field would break something.