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

[Bug] default param value displayed as [object Object] #40

Closed
semicolin opened this issue Apr 3, 2023 · 5 comments
Closed

[Bug] default param value displayed as [object Object] #40

semicolin opened this issue Apr 3, 2023 · 5 comments
Assignees
Labels
Status: Released Type: Bug Something isn't working

Comments

@semicolin
Copy link

Is this a regression?

Yes

Description

Default values for method parameters are displayed as [object Object] in the API page presentation.
The signature for this method is:

  enable(id: string, enabled = true)

image

Please provide the exception or error you saw

No response

OS

Unix (Linux, macOS, etc.)

Browser

Chrome

Node version

18.12.1

Anything else?

No response

@semicolin semicolin added the Type: Bug Something isn't working label Apr 3, 2023
@skoropadas
Copy link
Member

Hey, thanks for the ticket! Have you tried to install the latest version 15.10.4? I noticed that some API types were displayed incorrectly, so I fixed some errors and added tests for the function that is responsible for this

@skoropadas
Copy link
Member

Okay, no matter, I see that this is reproducible only for presentations, I will fix it asap!

@skoropadas
Copy link
Member

I fixed this bug and several others that I found while writing tests, so now it should work, thanks for the issue again!

skoropadas pushed a commit that referenced this issue Apr 4, 2023
## [15.10.5](v15.10.4...v15.10.5) (2023-04-04)

### Bug Fixes

* **builder:** default param value displayed as [object Object] in API presentations ([30fb08b](30fb08b)), closes [#40](#40)
@github-actions
Copy link

github-actions bot commented Apr 4, 2023

🎉 This issue has been resolved in version 15.10.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@semicolin
Copy link
Author

Looks good. Thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Released Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants