fix: Removes filtering for expandable queries - #3934
Conversation
29db9d5 to
94ca1ee
Compare
| import jakarta.inject.Inject; | ||
| import jakarta.servlet.http.HttpServletRequest; | ||
| import jakarta.validation.Validator; | ||
| import jakarta.ws.rs.BadRequestException; | ||
| import jakarta.ws.rs.core.Response; | ||
| import jakarta.ws.rs.core.UriBuilder; | ||
| import lombok.AllArgsConstructor; | ||
| import lombok.NoArgsConstructor; | ||
| import lombok.extern.slf4j.Slf4j; | ||
|
|
||
| import java.text.NumberFormat; | ||
| import java.time.LocalDate; | ||
| import java.util.*; | ||
| import java.util.concurrent.TimeUnit; | ||
| import java.util.function.Consumer; | ||
| import java.util.function.Predicate; | ||
| import java.util.stream.Collectors; | ||
| import java.util.stream.IntStream; | ||
| import java.util.stream.Stream; | ||
|
|
There was a problem hiding this comment.
In meinem Intellij ist die Sortierung auch wieder kaputt. Kannst es bitte einmal checken und ggf anpassen sodass die offiziellen (java/jakarta) wieder nachoben kommen
| return switch (query) { | ||
| case ConceptQuery ignored -> true; | ||
| case SecondaryIdQuery ignored -> true; | ||
| case null, default -> false; |
There was a problem hiding this comment.
Bitte einen Kommentar ran machen, wenn null das eigentlich ein Fehlerfall ist. Oder ist das legitim?
There was a problem hiding this comment.
ja guter Punkt, null kann vmtl gar nicht passieren
| QUERY_ID_8 = createExecutionId(DATASET_0, "9"); | ||
| QUERY_ID_9 = createExecutionId(DATASET_0, "10"); |
There was a problem hiding this comment.
| QUERY_ID_8 = createExecutionId(DATASET_0, "9"); | |
| QUERY_ID_9 = createExecutionId(DATASET_0, "10"); | |
| QUERY_ID_8 = createExecutionId(DATASET_0, "8"); | |
| QUERY_ID_9 = createExecutionId(DATASET_0, "9"); |
There was a problem hiding this comment.
ah, danke. Musste den PR neu machen, hab das übersehen
| }})); | ||
| }}, DATASET_0 | ||
| ), // included, but secondaryId-Query | ||
| mockManagedSecondaryIdQueryFrontEnd(USERS[1], QUERY_ID_8, DONE, new CQConcept(), DATASET_0), // not-included, wrong structure |
There was a problem hiding this comment.
Warum hast du den Case gekickt, der ist doch jetzt darstellbar,oder?
There was a problem hiding this comment.
Weil er keinen Sonderfall mehr darstellt
94ca1ee to
967afcc
Compare
As that hides editorv2 queries from users, which they can actually use in editorv2