Skip to content

Use config reader for parsing Job submission #1294

Open
@vishalbollu

Description

@vishalbollu

Description

As of v0.19, job submissions are validated with custom code rather than using the config reader. Config reader wasn't used because it doesn't support json.RawMessage (or just []byte). Update config reader to support []byte or json.RawMessage.

Motivation

  • Validation error messages can be improved with the help of config reader
  • Remove redundant basic error validations such as min/max checks with the help of config reader

Additional context

  • Add a StructFieldValidation for []byte with a parser function to cast to json.RawMessage?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrefactorImprove code quality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions