Skip to content

Api version control #148

Open
Open

Description

@humrochagf

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?

Activity

  1. changed the title [-]Api versions control[/-] [+]Api version control[/+] on Dec 7, 2017
  2. filipeximenes commented on Dec 13, 2017

    @filipeximenes
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions