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
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
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
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