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

Validate feature #2140

Closed
wants to merge 7 commits into from
Closed

Conversation

marron-at-work
Copy link

Merge the changes in PR #2099 and #2100.

Updates per comments on:

  • \in uses #[...]
  • validate now has optional name -- uses syntax validate exp as name; where the KW as denote the alias we are introducing for the validate
  • TS grammar file is updated

Open issues:

  • Need to finish support in printer.ts not sure how to add validates printing there. Any pointers would be appreciated.

@github-actions
Copy link
Contributor

Changes in this PR will be published to the following url to try(check status of TypeSpec Pull Request Try It pipeline for publish status):
Playground: https://cadlplayground.z22.web.core.windows.net/prs/2140/

Website: https://cadlwebsite.z1.web.core.windows.net/prs/2140/

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.

1 participant