Closed CoreyCole closed 5 years ago
Kind of an aside, but what is the design thinking behind only some of the parameters being named? Naming all the parameters would have made this error more obvious:
@AzureADApiDeclaration(
name: "AzureAdTestApi",
clientId: "resource",
resource: "client_id",
redirectUrl: "redirecturl",
azureTennant: "azureTennant",
clientSecret: "client_secret"
)
abstract class AzureADDefinition {
}
The error is easier to see
clientId: "resource",
resource: "client_id",
Thanks!
I believe the
azureAdTestApi.dart
example is wrong/out-of-date. It orders the params:When it should be (defined here):