Deprecate fluent search without an explicit bundle type declaration

This commit is contained in:
jamesagnew 2016-04-23 10:15:13 -04:00
parent a0ce10cf3f
commit 941091dbf7
2 changed files with 13 additions and 0 deletions

View File

@ -129,4 +129,13 @@ public interface IQuery<T> extends IClientExecutable<IQuery<T>, T>, IBaseQuery<I
@Override
IQuery<T> and(ICriterion<?> theCriterion);
/**
* @deprecated You should call {@link #returnBundle(Class)} on the method chain before calling
* {@link #execute()} in order to specify why return type to use
*/
// This is overriding in order to deprecate
@Deprecated
@Override
T execute();
}

View File

@ -16,6 +16,10 @@
a FHIR resource in the request body (e.g. create, update) contains invalid content that
the parser is unable to parse. Thanks to Jim Steel for the suggestion!
</action>
<action type="add">
Deprecate fluent client search operations without an explicit declaration of the
bundle type being used
</action>
</release>
<release version="1.5" date="2016-04-20">
<action type="fix" issue="339">