We're a place where coders share, stay up-to-date and grow their careers.
Over that problem, I would suggest creating a new abstraction that will always handle both sides and exposes a consistent API that may not change
This is the same problem as Rest api's
Rest api's
I've seen some folks solving this problem versioning their endpoints, so another solution would be versioning those namespaces to something like:
const observable = new Observable('v1/items'); const observable = new Observable('v2/items');
And each version would have different responses
Over that problem, I would suggest creating a new abstraction that will always handle both sides and exposes a consistent API that may not change
This is the same problem as
Rest api's
I've seen some folks solving this problem versioning their endpoints, so another solution would be versioning those namespaces to something like:
And each version would have different responses