TheThingsNetwork / lorawan-stack

The Things Stack, an Open Source LoRaWAN Network Server
https://www.thethingsindustries.com/stack/
Apache License 2.0
992 stars 309 forks source link

Replace type of `notification_type` field with type NotificationType in v4 #7384

Open ryaplots opened 1 week ago

ryaplots commented 1 week ago

Summary

Start using the NotificationType type everywhere in the backend, including for the notification_type field starting v4

Current Situation

We have a NotificationType type which we can't use in v3 for the notification_type because this would be a breaking API change. So we currently use strings (the enum converted to string).

Desired Situation

Use the NotificationType type across the backend.

Code of Conduct