Skip to content

Conversation

@brennj
Copy link
Collaborator

@brennj brennj commented Aug 24, 2023

Definitely a more involved one 😅 :

  • We will parse conditionals now in x-jsf-logic via a special processJSONLogicNode function which goes through anything particular to JSON logic.
  • During the calculation of conditional properties, we'll now calculated computed attributes if any and spread them, we'll also apply any validations that need to be added.
  • Adds the logic for the special if statements only available in x-jsf-logic (which can have an if statement without properties but computedValues and validations checks)
  • Lots of tests and schemas with more to come (breaking some extra tests into its own PR because theres just so much...)

brennj added 26 commits August 31, 2023 16:40
chore: clean up conditional additions

chore: remove const tests

chore: remove dupe file

chore: remove group array stuff

chore: clean up yupschema

chore: clean up helpers a small bit

chore: remove all error handling for now

chore: clean up package-lock

chore: more removing stuff

chore: clean more
chore: clean up conditional additions

chore: remove const tests

chore: remove dupe file

chore: remove group array stuff

chore: clean up yupschema

chore: clean up helpers a small bit

chore: remove all error handling for now

chore: clean up package-lock

chore: more removing stuff

chore: clean more
chore: clean up conditional additions

chore: remove const tests

chore: remove dupe file

chore: remove group array stuff

chore: clean up yupschema

chore: clean up helpers a small bit

chore: remove all error handling for now

chore: clean up package-lock

chore: more removing stuff

chore: clean more

chore: support barebones computedAttrs

chore: computed string attributes

chore: error handling
chore: clean up conditional additions

chore: remove const tests

chore: remove dupe file

chore: remove group array stuff

chore: clean up yupschema

chore: clean up helpers a small bit

chore: remove all error handling for now

chore: clean up package-lock

chore: more removing stuff

chore: clean more

chore: support barebones computedAttrs

chore: error handling

feat: add more error handling
@brennj brennj force-pushed the conditionals-json-logic branch from d037d27 to 2beb330 Compare September 6, 2023 12:56
@brennj
Copy link
Collaborator Author

brennj commented Sep 7, 2023

I think everything is covered here, let me know if I'm missing anything

@brennj brennj force-pushed the conditionals-json-logic branch from a354811 to 1f15939 Compare September 13, 2023 14:24
johnstonbl01
johnstonbl01 previously approved these changes Sep 13, 2023
Base automatically changed from inline-rule-handling to main September 15, 2023 12:21
@brennj brennj dismissed johnstonbl01’s stale review September 15, 2023 12:21

The base branch was changed.

@brennj brennj merged commit 6292b01 into main Sep 18, 2023
@brennj brennj deleted the conditionals-json-logic branch September 18, 2023 09:56
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.

4 participants