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

[DO NOT MERGE] Emitter Framework #4480

Draft
wants to merge 93 commits into
base: main
Choose a base branch
from
Draft

Conversation

joheredi
Copy link
Member

Very Experimental emitter framework

@joheredi joheredi changed the title [DO NOT MERGE] Alloy [DO NOT MERGE] Emitter Framework Sep 19, 2024
@azure-sdk
Copy link
Collaborator

❌ There is undocummented changes. Run chronus add to add a changeset or click here.

The following packages have changes but are not documented.

  • @typespec/compiler
  • @typespec/efnext-cli-sketch
  • @typespec/http
Show changes

const helpers = useHelpers();
const commandDoc = helpers.getDoc(command.cli);
const commandDesc = commandDoc
? ((marked(commandDoc) as string).trimEnd() + "\n").replace(/\n/g, "\\n").replace(/"/g, '\\"')

Check failure

Code scanning / CodeQL

Incomplete string escaping or encoding High

This does not escape backslash characters in the input.
@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants