Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Prevent clobbering rules and custom rules #4638

Merged
merged 8 commits into from
Sep 3, 2024

Conversation

martha
Copy link
Contributor

@martha martha commented Aug 22, 2024

Please squash merge this PR

Description

GH issue https://github.com/open-path/Green-River/issues/6555

I'd like to discuss this more and maybe pair to come up with a better solution, but also want to be transparent that I'm nearing the estimate for the ticket (2.5 of 3h).

My head is spinning a bit from this years-old but still outstanding GraphQL discussion thread on supporting scalar union types: graphql/graphql-spec#215

Type of change

  • Bug fix
  • New feature (adds functionality)
  • Code clean-up / housekeeping
  • Dependency update

Checklist before requesting review

  • I have performed a self-review of my code
  • I have run the code that is being changed under ideal conditions, and it doesn't fail
  • My code includes comments and/or descriptive variable names to help other engineers understand the intent (or not applicable)
  • My code follows the style guidelines of this project (rubocop)
  • I have updated the documentation (or not applicable)
  • If it's not obvious how to test this change, I have provided testing instructions in this PR or the related issue

@martha martha requested a review from gigxz August 22, 2024 16:22
@martha martha changed the base branch from release-130 to release-131 August 26, 2024 19:50
@@ -41,6 +41,9 @@ class Forms::FormItem < Types::BaseObject
field :autofill_values, [Forms::AutofillValue], 'Value(s) to autofill based on conditional logic', null: true
field :service_detail_type, Forms::Enums::ServiceDetailType, 'Whether to apply this field to all clients or a single client when bulk creating', null: true, deprecation_reason: 'from old bulk services implementation, no longer supported'

field :rule, Forms::FormItemRule, null: true
field :custom_rule, Forms::FormItemRule, null: true
Copy link
Contributor

Choose a reason for hiding this comment

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

decision: resolve these as json fields, revisit type when we build a frontend for them

@martha martha merged commit fb79f4d into release-131 Sep 3, 2024
50 of 51 checks passed
@martha martha deleted the martha/6555-form-item-rule branch September 3, 2024 13:27
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.

2 participants