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

feat(config): add transient field serialization options #112

Merged

Conversation

linwumingshi
Copy link
Contributor

@linwumingshi linwumingshi commented Aug 31, 2024

Introduce separate config options for serializing transient fields in request and response objects, replacing the deprecated skipTransientField option. This allows for explicit control over the inclusion of transient fields in the generated documentation.

BREAKING CHANGE: skipTransientField has been removed in favor of serializeRequestTransients and serializeResponseTransients. To maintain the previous behavior, set both new options to false.

TongchengOpenSource/smart-doc#904

Introduce separate config options for serializing transient fields in request and response
objects, replacing the deprecated `skipTransientField` option. This allows for explicit control
over the inclusion of `transient` fields in the generated documentation.

BREAKING CHANGE: `skipTransientField` has been removed in favor of
`serializeRequestTransients` and `serializeResponseTransients`. To maintain the previous
behavior, set both new options to `false`.
@shalousun shalousun merged commit 79b42b8 into smart-doc-group:master Sep 1, 2024
@linwumingshi linwumingshi deleted the docs/transient-field branch September 5, 2024 00:00
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.

2 participants