-
-
Notifications
You must be signed in to change notification settings - Fork 528
fix: --properties-required-by-default flag #1764
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
Conversation
🦋 Changeset detectedLatest commit: 81ce5a6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@drwpow any chances of fast approve and release? |
Thanks for the fix; this looks good to me! I’d love to add a test for this so this doesn’t regress in the future. And also please add a |
@drwpow Changeset done. It will be hard to test that part. The problem comes from cli.js not being part of the build process and static analysis not being done on that file. I will take some time over the weekend and make it work if you wish. But for now is it possible to merge that change? It will be helpful for me at work. |
So there are CLI tests for flags already. A lot of them had been moved into the Node API tests, but for this change, we could just do a simple |
@drwpow Should be done! You can run |
And I'm testing against |
Awesome, thank you so much! That works—just something that verifies a) this is the correct fix, and b) we’ll see a test failure if this regresses. That saves a ton of work in the long term; appreciate it! |
Great, thanks! |
* fix: --properties-required-by-default flag * chore: add changeset * test: --properties-required-by-default flag * style: lint cli.style.ts
Changes
Fix --properties-required-by-default flag not working. #1651
How to Review
It was just simple typo.
Checklist
docs/
updated (if necessary)pnpm run update:examples
run (only applicable for openapi-typescript)