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

Front end validation for workflow params from UI based on GQL Schema #110

Open
rosibaj opened this issue Jan 26, 2021 · 0 comments
Open
Assignees
Labels
new-feature Request is a new feature

Comments

@rosibaj
Copy link

rosibaj commented Jan 26, 2021

  • at the moment the error handling/reporting on the front end is very basic. It’s just spitting out the details of whatever error it receives from the back-end/API response
  • To help users, we would like to prevent malformed request (for example from incorrectly formatted field names or types) so that errors on initiating workflows are prevented.
  • Front-end validation of the actual input/workflow params can be garnered from the GQL schema for input params.

Expected behaviour

When i format a workflow request from the input form, the GQL Schema should be used to let me know if i have any malformed options before attempting a run

@rosibaj rosibaj added the new-feature Request is a new feature label Jan 26, 2021
@rosibaj rosibaj self-assigned this Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature Request is a new feature
Projects
None yet
Development

No branches or pull requests

1 participant