-
Notifications
You must be signed in to change notification settings - Fork 985
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
Account permissions component malli schema fix #18770
Conversation
@@ -12,7 +12,7 @@ | |||
[:address [:maybe :string]] | |||
[:emoji [:maybe :string]] | |||
[:customization-color {:optional true} [:maybe :schema.common/customization-color]]]] | |||
[:token-details {:optional true} [:maybe [:vector required-tokens/?schema]]] | |||
[:token-details {:optional true} [:maybe [:sequential required-tokens/?schema]]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As pointed out by @ilmotta here, using :vector
will fail when lazy sequences are passed. @mmilad75, I noticed you reverted it back to :vector
. Could you please clarify if there's a specific reason for this choice?
@ilmotta, perhaps we could consider adding this information to the malli guideline section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been brought up earlier too. :sequential
is the way to go.
@@ -12,7 +12,7 @@ | |||
[:address [:maybe :string]] | |||
[:emoji [:maybe :string]] | |||
[:customization-color {:optional true} [:maybe :schema.common/customization-color]]]] | |||
[:token-details {:optional true} [:maybe [:vector required-tokens/?schema]]] | |||
[:token-details {:optional true} [:maybe [:sequential required-tokens/?schema]]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been brought up earlier too. :sequential
is the way to go.
21% of end-end tests have passed
Failed tests (37)Click to expandClass TestActivityMultipleDevicePRTwo:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestActivityMultipleDevicePR:
Class TestCommunityMultipleDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestDeepLinksOneDevice:
Expected to fail tests (1)Click to expandClass TestCommunityOneDeviceMerged:
Passed tests (10)Click to expandClass TestActivityCenterContactRequestMultipleDevicePR:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityOneDeviceMerged:
Class TestGroupChatMultipleDeviceMergedNewUI:
|
Just a small fix to the account permissions component schema.
No QA is needed.
status: ready