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

chore(core): fix JsonObject type doesn't allow array of JsonObject as field #13669

Merged
merged 6 commits into from
Aug 7, 2024

Conversation

HuiSF
Copy link
Member

@HuiSF HuiSF commented Aug 1, 2024

Description of changes

Issue #, if available

#13667

Description of how you validated changes

Perform type casting in a unit test to verify array of object is allowed. The unit test will fail when casted type is non-compatible.

Checklist

  • PR description included
  • yarn test passes
  • Unit Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

Checklist for repo maintainers

  • Verify E2E tests for existing workflows are working as expected or add E2E tests for newly added workflows
  • New source file paths included in this PR have been added to CODEOWNERS, if appropriate

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@HuiSF HuiSF force-pushed the hui/fix/core/json-array-type branch from 6d89db1 to d2d939d Compare August 1, 2024 00:17
@HuiSF HuiSF force-pushed the hui/fix/core/json-array-type branch from 6f2072e to bdff20c Compare August 1, 2024 03:53
ashika112
ashika112 previously approved these changes Aug 1, 2024
haverchuck
haverchuck previously approved these changes Aug 1, 2024
@HuiSF HuiSF dismissed stale reviews from haverchuck and ashika112 via cce2bdb August 1, 2024 15:59
ashika112
ashika112 previously approved these changes Aug 1, 2024
cshfang
cshfang previously approved these changes Aug 1, 2024
packages/core/__tests__/singleton/Auth/type.test.ts Outdated Show resolved Hide resolved
@HuiSF HuiSF dismissed stale reviews from cshfang and ashika112 via 42dd55a August 2, 2024 17:33
@HuiSF HuiSF merged commit d7522e4 into main Aug 7, 2024
30 checks passed
@HuiSF HuiSF deleted the hui/fix/core/json-array-type branch August 7, 2024 18:18
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.

4 participants