Skip to content

asynchronously defining api version #1009

Closed
@kewinbrand

Description

@kewinbrand

hi,

would you mind making SelectVersion from the interface IApiVersionSelector async?

why?

well, we develop an ERP that releases 4 versions per year, for example 2023.1, 2023.2, 2023.3 and 2023.4.
we support the last 3 versions, so in this example would be 2023.2, 2023.3 and 2023.4
at the end of the day, we know in what version each of our customers are, by consuming an internal api

with that in mind, i would like to make an request to that internal api and fetch the correct version
only when no API version is especified

is that possible?

thank you

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions