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

[Dt] Support for source mapping #696

Open
mikekistler opened this issue Jul 8, 2022 · 4 comments
Open

[Dt] Support for source mapping #696

mikekistler opened this issue Jul 8, 2022 · 4 comments
Labels
design:needed A design request has been raised that needs a proposal epic
Milestone

Comments

@mikekistler
Copy link
Member

We need support for mapping a file/line in the output of a Cadl back to the line of the Cadl file that "generated" it.

The MS Graph team has asked for this and Azure also needs this to map elements in a generated OpenAPI file back to the Cadl.

@ghost ghost added the Needs Triage label Jul 8, 2022
@markcowl markcowl added this to the [2022] November milestone Jul 12, 2022
@MaximRouiller
Copy link
Member

I am officially upvoting that issue.

@markcowl markcowl added design:needed A design request has been raised that needs a proposal and removed Needs Triage labels Jul 18, 2022
@markcowl markcowl added the 📌 label Jul 18, 2022
@MaximRouiller
Copy link
Member

@markcowl Is the October timeframe still valid?

@mikekistler mikekistler removed their assignment Jan 3, 2023
@mikekistler
Copy link
Member Author

I have unassigned myself on this issue. I think the requirement is reasonably clear and we have real user/customer input on its importance. I think an engineer should be assigned to create a design proposal.

@markcowl markcowl modified the milestones: [2023] April, [2023] March Jan 26, 2023
@markcowl markcowl removed this from the [2023] March milestone Mar 9, 2023
@markcowl markcowl added this to the [2023] April milestone Mar 9, 2023
@markcowl markcowl modified the milestones: [2023] April, [2023] June Apr 17, 2023
@allenjzhang allenjzhang modified the milestones: [2023] June, [2023] July Apr 27, 2023
@markcowl markcowl modified the milestones: [2023] July, Backlog Jul 11, 2023
@claudiababescu
Copy link

I am also interested in this issue. It would be great to have a source map of the TypeSpec models that are part of a package we're publishing to artifactory. We need really basic stuff like what models, scalars and enums have been generated.
This would enable our clients to see the underlying TypeSpec model that was emitted in their respective languages.

@allenjzhang allenjzhang removed their assignment Mar 22, 2024
@markcowl markcowl changed the title Support for source mapping [Dt] Support for source mapping Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design:needed A design request has been raised that needs a proposal epic
Projects
None yet
Development

No branches or pull requests

6 participants