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

refactor: allow unknown keys in send message payload #5521

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

gao-sun
Copy link
Member

@gao-sun gao-sun commented Mar 18, 2024

Summary

the limitation brings more trouble than benefit. the payload type should be guidance instead of enforcement.

Testing

added test cases

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

@gao-sun gao-sun requested a review from a team March 18, 2024 15:16
Copy link

github-actions bot commented Mar 18, 2024

COMPARE TO master

Total Size Diff 📈 +590 Bytes

Diff by File
Name Diff
.changeset/witty-moose-kick.md 📈 +88 Bytes
packages/core/src/utils/zod.ts 📈 +175 Bytes
packages/toolkit/connector-kit/src/index.test.ts 📈 +310 Bytes
packages/toolkit/connector-kit/src/index.ts 📈 +28 Bytes
packages/toolkit/connector-kit/src/types/passwordless.ts 📈 +45 Bytes

@gao-sun gao-sun force-pushed the gao-allow-unknown-keys-in-message-payload branch from b47a054 to 2c10c24 Compare March 19, 2024 02:38
@gao-sun gao-sun requested a review from simeng-li as a code owner March 19, 2024 02:38
@gao-sun gao-sun enabled auto-merge March 19, 2024 02:40
@gao-sun gao-sun merged commit 23bc5cd into master Mar 19, 2024
18 checks passed
@gao-sun gao-sun deleted the gao-allow-unknown-keys-in-message-payload branch March 19, 2024 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Make it better size/s
Development

Successfully merging this pull request may close these issues.

2 participants