From 0a0d49d7fc1ad604d05556b589e306819a23a624 Mon Sep 17 00:00:00 2001 From: Arcturus Zhang Date: Sat, 14 Sep 2024 09:52:49 +0800 Subject: [PATCH] add changelog --- .chronus/changes/optional-encode-2024-8-14-9-51-14.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .chronus/changes/optional-encode-2024-8-14-9-51-14.md diff --git a/.chronus/changes/optional-encode-2024-8-14-9-51-14.md b/.chronus/changes/optional-encode-2024-8-14-9-51-14.md new file mode 100644 index 0000000000..4ccd413cf7 --- /dev/null +++ b/.chronus/changes/optional-encode-2024-8-14-9-51-14.md @@ -0,0 +1,8 @@ +--- +changeKind: breaking +packages: + - "@azure-tools/typespec-client-generator-core" +--- + +1. change `encode` in `SdkBuiltInType` to optional. +2. no longer use the value of `kind` as `encode` when there is no encode on this type.