You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I think the "queue with parameters" feature would be more convenient to use if we introduce a notion of type to the parameters. Firstly, because the currently used single-line inputs are convenient only for simple string data - passing something like a JSON is inconvenient and error-prone. Secondly, because the form passes all the parameters as strings, which in turn must be parsed by the queued job - it'd be more convenient the just receive the data without any conversion.
For my personal uses, I'd need the following types
string (the default if type is not specified) - has the current behavior
text - renders a textarea, passes value to job as string
json - uses some js library to render a JSON editor, passes value to job as a hash
Please let me know what do you think about this suggestion
The text was updated successfully, but these errors were encountered:
Hi, I think the "queue with parameters" feature would be more convenient to use if we introduce a notion of type to the parameters. Firstly, because the currently used single-line inputs are convenient only for simple string data - passing something like a JSON is inconvenient and error-prone. Secondly, because the form passes all the parameters as strings, which in turn must be parsed by the queued job - it'd be more convenient the just receive the data without any conversion.
For my personal uses, I'd need the following types
Please let me know what do you think about this suggestion
The text was updated successfully, but these errors were encountered: