Skip to content

fix: Do not omit falsy default values #10755

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

Merged
merged 4 commits into from
Feb 12, 2025
Merged

fix: Do not omit falsy default values #10755

merged 4 commits into from
Feb 12, 2025

Conversation

Amgelo563
Copy link
Contributor

Please describe the changes this PR makes and why it should be merged:
Fixes default falsy values not showing up on docs, like BaseFetchOptions' force:
image

Status and versioning classification:

  • This PR only includes non-code changes, like changes to documentation, README, etc.

@Amgelo563 Amgelo563 requested a review from a team as a code owner February 12, 2025 18:29
@Amgelo563 Amgelo563 requested review from iCrawl and Jiralite February 12, 2025 18:29
Copy link

vercel bot commented Feb 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
discord-js ⬜️ Ignored (Inspect) Visit Preview Feb 12, 2025 7:17pm
discord-js-guide ⬜️ Ignored (Inspect) Visit Preview Feb 12, 2025 7:17pm

@Jiralite Jiralite changed the title fix(docs): fix default falsy values being omitted fix(ParameterNode): fix default falsy values being omitted Feb 12, 2025
@Jiralite Jiralite marked this pull request as draft February 12, 2025 19:09
@almeidx almeidx marked this pull request as ready for review February 12, 2025 19:17
@Jiralite Jiralite changed the title fix(ParameterNode): fix default falsy values being omitted fix: Do not omit falsy default values Feb 12, 2025
@kodiakhq kodiakhq bot merged commit 4b63bb8 into discordjs:main Feb 12, 2025
26 checks passed
@Amgelo563 Amgelo563 deleted the fix/docs-falsy-default-value branch February 12, 2025 21:09
peschwartz pushed a commit to DD2480-Group22-2025/DD2480-discord.js that referenced this pull request Feb 18, 2025
* fix(docs): fix default falsy values being omitted

* fix(docs): swap defaultValue check to avoid negated condition

* fix: fix pr by removing everything it added and committing something entirely different

---------

Co-authored-by: almeidx <github@almeidx.dev>

doc/setup initial documentation files

Update issue templates
carltestar added a commit to DD2480-Group22-2025/DD2480-discord.js that referenced this pull request Feb 20, 2025
* fix: Do not omit falsy default values (discordjs#10755)

* fix(docs): fix default falsy values being omitted

* fix(docs): swap defaultValue check to avoid negated condition

* fix: fix pr by removing everything it added and committing something entirely different

---------

Co-authored-by: almeidx <github@almeidx.dev>

doc/setup initial documentation files

Update issue templates

* docs: onboarding written

* feat: lizard analysis of code complexity

Update issue templates

fix: update functions

docs: add guidelines

* fix: update functions

* doc: answers task 3.4 part 1 (#21)

* Elaborates on onboarding document (#22)

* docs: elaborates on onboarding document #2

* Update onboarding.md

Says tests instead of tasks

Closes #2

---------

Co-authored-by: Jacmol <104684303+Jacmol@users.noreply.github.com>

Update complexity.md

* docs: added coverage measurement documentation

* docs: update documentation for refactoring

feat: refactor thread patch

reduces cyclomatic complexity in patch function in thread. #9

fix: moved files around

Doc/coverage measurement improvement (#27)

* docs: branchcoverage tool wip #13

* docs: improves #13

* docs: refactord guild.js patch function for #9

* Small fix  #5

* docs: finish #13

* Revert "Small fix  #5"

This reverts commit 8513b3f.

* docs: improved refactor for guild.js patch file #9

---------

Co-authored-by: Klara Lindemalm <klara.lindemalm@gmail.com>

* docs: added documentation for refactor #26 (#28)

Update complexity.md

* feat: branch coverage and refactoring

* fix: Updated log message for patch.test.js

---------

Co-authored-by: Amgelo563 <61554601+Amgelo563@users.noreply.github.com>
Co-authored-by: phoebe <phoebes@kth.se>
Co-authored-by: Samuel Söderberg <samuelsoderberg99@gmail.com>
Co-authored-by: Klara Lindemalm <klara.lindemalm@gmail.com>
Co-authored-by: Phoebe Schwartz <144394710+peschwartz@users.noreply.github.com>
Co-authored-by: Carltestar <carllon@kth.se>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

7 participants