Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Create Invitation API [Validation] #35448
Create Invitation API [Validation] #35448
Changes from all commits
2de602f
1f42d95
b4c260c
2873fcb
06e60e1
591245a
3d99f35
9e801be
a0119f6
0fc4ddd
fc6ced8
30a3214
2e1de11
7584aea
21fd7ac
ff73910
cd79129
062dde5
f0cd397
ef2b0e6
64c904a
a043006
cca4098
7f3807e
8fe97bc
998a221
6366ebf
34e4dc7
8d30494
eba62f3
d9f55a1
427420a
c2df916
d3b2d3a
eff4a17
6f0ec77
ab7e8a7
d698b22
11edd76
a5ee207
33159f5
da73efa
06dd234
8fee5fe
3dfa157
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Doesn't really apply to this PR but I'm just sort of curious... @jingcheng16 isn't there some thing with mobile worker location assignment where the primary location needs to come first in an import or in the API? I vaguely remember some discussion a while back about that.
Doesn't look like for web user import the primary needs to come first in the set of codes, and certainly there is no validation for this in bulk import at the moment.
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.
IIRC, for both mobile and web user bulk import, it assumes that the first location listed is the primary location. So there's no validation involves, it just assumes and updates/assigns the primary location as such.
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.
Can you link which part of
CustomDataEditor
form already did the validation you deleted?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.
See my reply here. The validation is done here