Skip to content

Conversation

@brennj
Copy link
Collaborator

@brennj brennj commented Aug 22, 2023

Requires: #34 and #35 for full context and to work correctly. Must only be merged when they are.

This is a breakdown of #28 to make it more digestible for review.

Add in x-jsf-logic-computedAttrs (with reference to values defined in x-jsf-logic.computedValues) support.

  • Ensures when there is a x-jsf-logicComputedAttrs are present, it reads from x-jsf-logic.computedValues for that computed value.
  • From this PR, any plain string based single value is supported. (Where you need titles, etc, inline rules, they will come in following PRs)
  • Forced values are supported for this.
  • Adds a test to show how this works for basic values (const, default)

@brennj brennj force-pushed the json-logic-skeleton branch from da5c220 to 7adee33 Compare August 31, 2023 09:23
@brennj brennj force-pushed the json-logic-add-computedattrs branch from f990a57 to 6b06f89 Compare August 31, 2023 13:39
Base automatically changed from json-logic-skeleton to main August 31, 2023 14:35
brennj added 2 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
@brennj brennj force-pushed the json-logic-add-computedattrs branch from 6b06f89 to d2cc213 Compare August 31, 2023 14:42
@brennj brennj dismissed johnstonbl01’s stale review September 12, 2023 07:43

test this feature

@brennj brennj merged commit 80c2958 into main Sep 12, 2023
@brennj brennj deleted the json-logic-add-computedattrs branch September 12, 2023 07:43
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.

5 participants