lazyengineering / faststatus

Simple API for sharing if a resource is free, busy, or very busy
MIT License
1 stars 2 forks source link

Remove or rename Friendly Name #31

Closed jessecarl closed 7 years ago

jessecarl commented 7 years ago

With the choice to require whole Resource objects when updating, the Friendly Name becomes even more problematic than it already is. I propose that the Friendly Name be removed from the Resource altogether. It is information that can (and likely should) be managed by clients. If a client application wishes to display a human-readable name associated with a given resource, the application can store that name, along with the id and any other relevant information locally. This would not prevent an application from creating a data object that contains both friendly name and the core resource data, but the fundamental faststatus service should not include it.

This has a few particularly nice effects on the implementation.

jessecarl commented 7 years ago

This would replace #28