-
Notifications
You must be signed in to change notification settings - Fork 115
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
GraphQL projects
output field
#1547
base: hotfix-1.10.x
Are you sure you want to change the base?
Conversation
@@ -146,7 +146,7 @@ public Result<? extends HibNodeFieldContainer> findDraftFieldContainers(HibSchem | |||
|
|||
@Override | |||
public Result<HibProject> findLinkedProjects(HibSchema schema) { | |||
return new TraversalResult<>(getRoots(schema).stream().map(root -> root.getProject())); | |||
return new TraversalResult<>(getRoots(schema).stream().map(root -> root.getProject()).filter(Objects::nonNull)); |
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.
In the test AW MP database there was a case when a ODB edge existed, but lead to nothing.
|
||
@Override | ||
protected List<FilterField<HibProject, ?>> getFilters() { | ||
List<FilterField<HibProject, ?>> filters = new ArrayList<>(); |
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.
Possible filtering fields for the project: name, UUID, user tracking.
Abstract
Add an ability to output the list of projects, assigned to the (micro)schema. Filterable.
Checklist
General
/CHANGELOG.adoc
On API Changes