Skip to content

Support generating using Azure.Core CloudEvent #35214

Closed as not planned
Closed as not planned
@JoshLove-msft

Description

@JoshLove-msft

The CloudEvent type is used in the generated surface for Event Grid, and will likely be used in more services in the future. It would be good if there was some way to annotate a model to indicate that it is a CloudEvent (or maybe more generally an Azure.Core model) in typespec, and then use that information when generating as an indication that the Azure.Core type should be used. I'm not sure if the annotation piece would belong in a different repo, but I imagine the code gen piece would need to happen in this repo for C#.

Metadata

Metadata

Assignees

Labels

Azure.CoreClientThis issue points to a problem in the data-plane of the library.Event Grid

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions