-
-
Notifications
You must be signed in to change notification settings - Fork 11
Add automatic case conversion for GraphQL variables and responses #67
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,12 @@ class Configuration | |
attr_accessor :webhook_jobs_namespace | ||
attr_accessor :webhook_enabled_environments | ||
attr_accessor :webhooks_manager_queue_name | ||
attr_accessor :convert_case | ||
|
||
def initialize | ||
@webhooks_manager_queue_name = Rails.application.config.active_job.queue_name | ||
@webhook_enabled_environments = ['production'] | ||
@convert_case = false | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
end | ||
|
||
def has_webhooks? | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't really need to be conditional as if the variables are passed in
camelCase
they will stay that way.