Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix nested dependencies updating #1320

Merged
merged 3 commits into from
Jun 19, 2019
Merged

Fix nested dependencies updating #1320

merged 3 commits into from
Jun 19, 2019

Conversation

epicfaace
Copy link
Member

@epicfaace epicfaace commented Jun 15, 2019

Reasons for making this change

Fixes #1235.

If this is related to existing tickets, include links to them as well.

Checklist

  • I'm updating documentation
  • I'm adding or updating code
    • I've added and/or updated tests
    • I've updated docs if needed
    • I've run npm run cs-format on my branch to conform my code to prettier coding style
  • I'm adding a new feature
    • I've updated the playground with an example use of the feature

@epicfaace epicfaace marked this pull request as ready for review June 17, 2019 23:38
@@ -595,6 +618,12 @@ function resolveDependencies(schema, definitions, formData) {
dependencyValue
);
}
return processDependencies(
Copy link
Member Author

Choose a reason for hiding this comment

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

Makes this function recursive so that once a dependency is resolved, it goes through all the dependencies again.

@epicfaace epicfaace requested review from edi9999 and LucianBuzzo June 17, 2019 23:40
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nested dependencies not updated correctly
2 participants