Skip to content

Inherting from VersionedApiControllerSelector #49

@patrickrobbins

Description

@patrickrobbins

I'm trying to create a custom versioning scheme that will allow a controller to "fall through" to a previous version of a controller if one is not defined for a particular version. This will allow me to only make classes in the new namespace when there are actual changes to that class. anything that stays the same will continue to work from the same code.

I would like to inherit from VersionedApiControllerSelector and create my own implementation of this class. This has some issues as this is the entry point into a lot of the code and many of the classes in the library are marked as internal or private.

I would consider changing the private variables in this class to protected. also the InitializeControllerInfoCache to a protected virtual method.

I could create a pull request with some changes that would make this easier to extend (from my perspective at least)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions