Skip to content

Commit

Permalink
Force resolve validation to not use strict types
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Jul 10, 2024
1 parent d851112 commit 226169e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cfnlint/rules/functions/_BaseFn.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ def resolve(
key, _ = self.key_value(instance)

return_err: ValidationError | None = None
validator = validator.evolve(
context=validator.context.evolve(
strict_types=False,
),
)
for value, v, resolve_err in validator.resolve_value(instance):
if resolve_err:
yield resolve_err
Expand Down

0 comments on commit 226169e

Please sign in to comment.