Skip to content

fix(core-client): fix typos in serializer error messages#38258

Merged
deyaaeldeen merged 1 commit intomainfrom
deyaaeldeen/fix-serializer-error-messages
Apr 23, 2026
Merged

fix(core-client): fix typos in serializer error messages#38258
deyaaeldeen merged 1 commit intomainfrom
deyaaeldeen/fix-serializer-error-messages

Conversation

@deyaaeldeen
Copy link
Copy Markdown
Member

Fix two issues in the Array element metadata error messages in serializer.ts:

  • Add missing opening quote: element""element"
  • Fix grammar: "it must of type" → "it must be of type"

Both occurrences (serialize and deserialize paths) are fixed. Test regexes updated to match.

Fixes feedback from #38176.

Fix two issues in the "element metadata" error messages:
- Add missing opening quote: `element"` → `"element"`
- Fix grammar: "it must of type" → "it must be of type"

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@deyaaeldeen deyaaeldeen marked this pull request as ready for review April 23, 2026 14:29
Copilot AI review requested due to automatic review settings April 23, 2026 14:29
@deyaaeldeen deyaaeldeen requested a review from a team as a code owner April 23, 2026 14:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates array element metadata error messages in core-client serialization/deserialization to fix quoting and grammar, and aligns the corresponding test expectations.

Changes:

  • Fixed missing opening quote around "element" in array metadata error messages.
  • Corrected grammar from “must of type” to “must be of type” in both serialize/deserialize paths.
  • Updated serializer tests’ regex matchers to the new wording.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
sdk/core/core-client/src/serializer.ts Fixes the two error message typos in both serialize and deserialize sequence type handling.
sdk/core/core-client/test/public/serializer.spec.ts Updates regex expectations to match the corrected error message text.

@deyaaeldeen deyaaeldeen merged commit be0d109 into main Apr 23, 2026
55 checks passed
@deyaaeldeen deyaaeldeen deleted the deyaaeldeen/fix-serializer-error-messages branch April 23, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants