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 version control #148

Open
humrochagf opened this issue Dec 7, 2017 · 1 comment
Open

Api version control #148

humrochagf opened this issue Dec 7, 2017 · 1 comment

Comments

@humrochagf
Copy link
Contributor

What is the best approach to handle different api versions?

To create separate projects for each:

tapioca-myapi-v1
tapioca-myapi-v2

Or to use the same project but different major version that match the api version?

tapioca-myapi==1.0.0  # for v1
tapioca-myapi==2.0.0  # for v2

which one of these do you think is the best idea, or there is another way to do that?

@humrochagf humrochagf changed the title Api versions control Api version control Dec 7, 2017
@filipeximenes
Copy link
Contributor

Hey, I think the first approach (multiple packages) is cleaner and easier to maintain. That's how I've been doing things so far. Someone proposed a built in solution for the second approach long time ago, but we decided it was not worth. Just simpler to have multiple packages.

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