-
Notifications
You must be signed in to change notification settings - Fork 41
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
Specify the fully qualified name of @OpenAPI.extension
decorator in missing-x-ms-identifiers
linter warning
#605
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh nice, thanks for the fix, just need to describve the change as fix
either using the comment on the PR or using pnpm change add
/azp run try it |
/azp run typespec-azure - PR Try It |
Azure Pipelines successfully started running 1 pipeline(s). |
❌ There is undocummented changes. Run The following packages have changes but are not documented.
|
@OpenAPI.extension
decorator in missing-x-ms-identifiers
linter warning.
@OpenAPI.extension
decorator in missing-x-ms-identifiers
linter warning.@OpenAPI.extension
decorator in missing-x-ms-identifiers
linter warning
ah yeah looks like you'll have to update the test that were expecting the old message as well, there is also a formatting issue, make sure to run |
I'm having trouble setting up my development environment locally/in VSCode. I was going through https://github.com/microsoft/typespec/blob/main/CONTRIBUTING.md but I'm running into errors like: ❯ pnpm install
Scope: all 12 workspace projects
/Users/mshen/git/Azure/typespec-azure/packages/e2e-tests:
ERR_PNPM_WORKSPACE_PKG_NOT_FOUND In packages/e2e-tests: "@typespec/compiler@workspace:~" is in the dependencies but no package named "@typespec/compiler" is present in the workspace
This error happened while installing a direct dependency of /Users/mshen/git/Azure/typespec-azure/packages/e2e-tests
Packages found in the workspace: @azure-tools/typespec-azure-monorepo, @azure-tools/e2e-tests, @azure-tools/typespec-samples, @azure-tools/typespec-autorest, @azure-tools/typespec-autorest-canonical, @azure-tools/typespec-azure-core, @azure-tools/typespec-azure-playground-website, @azure-tools/typespec-azure-portal-core, @azure-tools/typespec-azure-resource-manager, @azure-tools/typespec-client-generator-core, @azure-tools/typespec-service-csharp, @azure-tools/typespec-azure-website
❯ pnpm format
> @azure-tools/[email protected] format /Users/mshen/git/Azure/typespec-azure
> pnpm run prettier --write
> @azure-tools/[email protected] prettier /Users/mshen/git/Azure/typespec-azure
> prettier . --config .prettierrc.json "--write"
[error] Cannot find module '/Users/mshen/git/Azure/typespec-azure/core/packages/prettier-plugin-typespec/dist/index.js' imported from /Users/mshen/.npm-global/lib/node_modules/prettier/index.mjs
ELIFECYCLE Command failed with exit code 1.
ELIFECYCLE Command failed with exit code 1. |
ah that sounds like you haven't clone the I have been thinking of adding a dev container setup so simplify setup for contributors, do you think that's something that would have benefited you here? |
Oh that's perfect - I just didn't realize those steps were important. I'm not very familiar with JS yet, so I went down the wrong rabbithole. A devcontainer wouldn't hurt, but the steps you linked worked as well. I mistakenly skipped to the Azure/typespec CONTRIBUTING.md searching for pnpm guidance. |
fb9943d
to
3884fe0
Compare
… `missing-x-ms-identifiers` linter warning. Signed-off-by: Michael Shen <[email protected]>
Signed-off-by: Michael Shen <[email protected]>
Head branch was pushed to by a user without write access
Thank you @timotheeguerin for taking the time to walk me through this PR! |
Fixes #604 and also resolves a syntax error in the documentation for
missing-x-ms-identifiers
.