Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
temporarily allow
None
values in conditions
Previously, accessing a path was a fallible operation, and the remap condition implementation is configured to allow a script to fail (in which case the condition returns `false`). Paths queries have been changed to never return an error, but return `None` if the path doesn't exist. This means the condition check now also has to accept none values, and consider them `false`. This is a temporary change, as optional values are going to be removed from the Remap language. Non-existing paths will instead resolve to `null`. Signed-off-by: Jean Mertz <git@jeanmertz.com>
- Loading branch information