Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Versioning Support? #147

Open
tkeeler33 opened this issue Nov 11, 2016 · 1 comment
Open

API Versioning Support? #147

tkeeler33 opened this issue Nov 11, 2016 · 1 comment

Comments

@tkeeler33
Copy link

Is API versioning supported?

I saw request #6 was closed but I can't find any more information. Ideally I'd like to run concurrent versions - /v1 & /v2.

Thanks.

@RusEu
Copy link

RusEu commented Apr 14, 2018

same problem here.

I temporally solved it using a function that generates my versioned url:

export function v1Route(route: string) {
  return `/api/v1/${route}`;
}

UsersResource.register(app, v1Route('users'));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants