Skip to content

fix: downgrade TeaModel cast diagnostics to verbose#254

Closed
yndu13 wants to merge 1 commit into
masterfrom
feature/aone-84429061-cast-warning
Closed

fix: downgrade TeaModel cast diagnostics to verbose#254
yndu13 wants to merge 1 commit into
masterfrom
feature/aone-84429061-cast-warning

Conversation

@yndu13

@yndu13 yndu13 commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • TeaModel.confirmType expected coercions (Map/List→String for shrink fields, number/boolean casts) no longer log at info/warning
  • Cast diagnostics moved to verbose/debug so default INFO configs stay quiet (fixes noisy filtersShrink / messageId logs)
  • Version bump to 1.4.3; closes Useless log output #241

Expected type coercions (Map/List→String for shrink fields, numeric casts)
were logged at info/warning and polluted user logs. Move them to verbose
so default INFO/WARN configs stay quiet. Bump to 1.4.3.
@yndu13

yndu13 commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by the correct fix in openapi-util: skip Map/List→String copy in Client.convert for shrink field collisions, instead of downgrading cast logs in tea-java.

See: aliyun/darabonba-openapi-util#149

Closing this PR; tea-java should keep confirmType logging as-is.

@yndu13

yndu13 commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Closing: wrong approach (log level). Correct fix is darabonba-openapi-util#149.

@yndu13 yndu13 closed this Jul 20, 2026
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.

Useless log output

1 participant