-
Notifications
You must be signed in to change notification settings - Fork 27
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
convert to str before condition check #2845
Conversation
@@ -38,7 +38,7 @@ Extras to do on creation: | |||
- A mapper can be given a 'name' for debugging purposes. | |||
- The 'external_id' maps to the meeting and is required (logged as warning if meeting does not exist). Multiple mappers can map to the same meeting. | |||
- If 'allow_update' is set to false, the mapper is only used if the user does not already exist. If it is not given it defaults to true. | |||
- Mappers are only used if every condition in the list of 'conditions' resolves to true. For this the value for 'attribute' in the payload data has to be a string and match the string or regex given in 'condition'. If no condition is given this defaults to true. | |||
- Mappers are only used if every condition in the list of 'conditions' resolves to true. For this the value for 'attribute' in the payload data has to be a string and match the string or regex given in 'condition'. If no condition is given this defaults to true. If the data is not a string, then it will be cast to a string for this purpose. F.e. "True", "4", "[False, 42, 'Text']" and so on. |
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.
"For example" is usually abbreviated with "e.g." (meaning "exempli gratia"), not "f.e.".
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.
That's correct. I like the non-Latin variant variant more, though.
…pes_for_condition_check
Closing this and reopening again, because of repository mishap. |
closes #2843