Skip to content

Conversation

@brennj
Copy link
Collaborator

@brennj brennj commented Aug 8, 2023

Internal conversation https://remote-com.slack.com/archives/C02HTN0LY02/p1691493090023339

When we have a if check that needs to check two levels deep, it would break the json-schema-form library, this adds a check to checkIfConditionMatches to make it more capable to do understand these property types.

Theres enough logic to justify its own file, and I started some dedicated tests.

Copy link
Collaborator

@rylek90 rylek90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, thanks for adding tests 👀

@brennj brennj merged commit e34cfcc into main Aug 9, 2023
@brennj brennj deleted the nested-if-checks-not-working branch August 9, 2023 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants