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

Fix directive parsing on namespaces #3180

Merged
merged 6 commits into from
Apr 16, 2024

Conversation

tjprescott
Copy link
Member

Fixes #3165.

Ensures that decorators and directives are attached the leaf node on Namespace chains.

@azure-sdk
Copy link
Collaborator

azure-sdk commented Apr 16, 2024

All changed packages have been documented.

  • @typespec/compiler
Show changes

@typespec/compiler - fix ✏️

Fix issue where directives were not parsed to the leaf node in multi-segment Namespace segments.

@azure-sdk
Copy link
Collaborator

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/3180/

Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/prs/3180/

@tjprescott tjprescott force-pushed the fixDirectiveParsing branch from 9ed268e to 46c5f81 Compare April 16, 2024 17:56
@tjprescott tjprescott force-pushed the fixDirectiveParsing branch from 1f42ff5 to 2adc6b5 Compare April 16, 2024 18:40
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.

[Bug]: Parsing decorators and directives for Namespaces
3 participants