Azure / typespec-azure

About TypeSpec Azure Libraries
https://azure.github.io/typespec-azure/
MIT License
11 stars 37 forks source link

Add a new Azure.Core helper that returns version and projection Info #125

Closed markcowl closed 8 months ago

markcowl commented 8 months ago

Create a new helper that returns appropriate version projections info for a service


interface ServiceVersion {
  version: string,
  getProjectedProgram(program: Program): ProjectedProgram;
}

export function buildServiceVersionProjections( program: Program, service: Service): ServiceVersion[];

This function should ensure that the `version

markcowl commented 8 months ago
markcowl commented 8 months ago

No longer needed, as service.version is being deprecated