Commit Graph

6 Commits

Author SHA1 Message Date
Chris Hill-Scott
7ff9ee40e8 Refactor 2020-06-18 12:37:51 +01:00
Chris Hill-Scott
f466abeea6 Add cacheing 2020-06-18 12:37:51 +01:00
Chris Hill-Scott
4a3dc26fbf Serialise service, API keys and permissions
By serialising these straight away we can:
- not go back to the database later, potentially closing the connection
  sooner
- potentially cache the serialised data, meaning we don’t touch the
  database at all
2020-06-17 16:12:11 +01:00
Chris Hill-Scott
6fdfaf5b63 Add description of SerialisedModel 2020-06-17 15:58:53 +01:00
Chris Hill-Scott
582c6dadf8 Rename JSONModel to SerialisedModel 2/2
This class doesn’t actually wrap JSON, it wraps serialised data.

So this name feels better.
2020-06-17 15:58:53 +01:00
Chris Hill-Scott
2d96bf0418 Rename JSONModel to SerialisedModel 1/2
This class doesn’t actually wrap JSON, it wraps serialised data.

So this name feels better.

This commit only renames the file for an easier diff.
2020-06-17 15:58:53 +01:00