mattkrick / cashay

:moneybag: Relay for the rest of us :moneybag:
MIT License
453 stars 28 forks source link

subscriptions-- add should default to upsert #96

Closed mattkrick closed 8 years ago

mattkrick commented 8 years ago

since id is a UUID, when a subscriber calls add it should really first try and update, and then ad insert. Or, maybe we provide an upsert handler? And remove the current add/update handlers? The question is-- will anyone ever want to have the same id twice in a series? And I think the answer is no. Cashay doesn't allow it with pagination, it shouldn't allow it here. Popular sites like facebook might show the same story twice, but I think that's them goofing up, it's not like they wanna do that.

i don't wanna see a facebook post of a cat trying to eat a wheel of cheese twice.

mattkrick commented 8 years ago

updated in v0.16.0