Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Bug 531986 - Change isQueryResult logic #88

Merged
merged 1 commit into from
Apr 23, 2019
Merged

Commits on Apr 18, 2019

  1. Bug 531986 - Change isQueryResult logic

    Previously, all arrays were treated as OSLC Query results unless the
    array type was explicitly marked with @OslcNotQueryResult annotation.
    This prevented from returning arrays of mixed-typed OSLC resources (as
    Object[] or IResource[]) because there is no way to annotate those
    classes accordingly.
    
    From now on, only arrays returned from JAX-RS methods annotated with
    @OslcQueryCapability will be automatically treated as OSLC Query results
    (again, unless the returned array type is annotated with the
    @OslcNotQueryResult).
    
    Signed-off-by: Andrew Berezovskyi <[email protected]>
    berezovskyi committed Apr 18, 2019
    Configuration menu
    Copy the full SHA
    e5e01bb View commit details
    Browse the repository at this point in the history