Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid C# code in azuread examples #16145

Open
thomas11 opened this issue May 8, 2024 · 0 comments
Open

Invalid C# code in azuread examples #16145

thomas11 opened this issue May 8, 2024 · 0 comments
Labels
area/codegen SDK-gen, program-gen, convert kind/bug Some behavior is incorrect or out of spec language/dotnet

Comments

@thomas11
Copy link
Contributor

thomas11 commented May 8, 2024

What happened?

A user reported in pulumi/pulumi-azuread#1037 that several of the C# examples for azuread don't compile. The common issue seems to be expressions like

getApplicationPublishedAppIdsResult.Result?.MicrosoftGraph)

where it should be

getApplicationPublishedAppIdsResult.Result["MicrosoftGraph"])

Example

https://www.pulumi.com/registry/packages/azuread/api-docs/applicationapiaccess

Output of pulumi about

n/a

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@thomas11 thomas11 added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels May 8, 2024
@Frassle Frassle added language/dotnet area/codegen SDK-gen, program-gen, convert and removed needs-triage Needs attention from the triage team labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/codegen SDK-gen, program-gen, convert kind/bug Some behavior is incorrect or out of spec language/dotnet
Projects
None yet
Development

No branches or pull requests

2 participants