-
Notifications
You must be signed in to change notification settings - Fork 9
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
[#597] feat: add submission tool backend to validate metadata #599
[#597] feat: add submission tool backend to validate metadata #599
Conversation
} catch (error) { | ||
throw new HttpException( | ||
ValidationError.INVALID_JSONLD, | ||
HttpStatus.BAD_REQUEST, |
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.
i think its not bad request :D from FE side but not valid metadata or json
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.
Hmm, make sense. I'll return 200
with object containing validation status
Why rxjs only for do request and catch error :D ?, you can do the same using axios. Will we want to build more complicated chains ? |
|
List of changes
Checklist