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
fix(ontology): Don't accept list values without gui attribute (DEV-775) #2089
fix(ontology): Don't accept list values without gui attribute (DEV-775) #2089
Conversation
…te' of https://github.com/dasch-swiss/dsp-api into wip/dev-775-dont-accept-list-values-without-gui-attribute
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.
Looks good. I would have liked to see the error message combined, but otherwise I have little to complain
webapi/src/main/scala/org/knora/webapi/routing/v2/OntologiesRouteV2.scala
Show resolved
Hide resolved
webapi/src/main/scala/org/knora/webapi/routing/v2/OntologiesRouteV2.scala
Outdated
Show resolved
Hide resolved
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.
Looks good, however I feel a little bit lost. Maybe you could give some introduction to it by the next occasion.
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.
LGTM, thanks!
* | ||
* @return either the validated list of gui attributes or a [[dsp.errors.BadRequestException]] | ||
*/ | ||
private[valueobjects] def validateGuiObjectsPointingToList( |
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.
@BalduinLandolt Do you mean the package scoped private method?
Kudos, SonarCloud Quality Gate passed!
|
Resolves DEV-775
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: DEV-775
What is the new behavior?
Does this PR introduce a breaking change?
Other information