Correct 1.3 since tags to 1.3.0
This commit is contained in:
@@ -51,7 +51,7 @@ import org.springframework.util.ClassUtils;
|
||||
*
|
||||
* @param <B> the type of builder
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
* @see AbstractDelegatingGraphQlClient
|
||||
*/
|
||||
public abstract class AbstractGraphQlClientSyncBuilder<B extends AbstractGraphQlClientSyncBuilder<B>>
|
||||
|
||||
@@ -47,7 +47,7 @@ import org.springframework.util.Assert;
|
||||
* </pre>
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
public final class DgsGraphQlClient {
|
||||
|
||||
|
||||
@@ -256,7 +256,7 @@ public interface GraphQlClient {
|
||||
* @return a spec with decoding options
|
||||
* @throws FieldAccessException if the field has any field errors,
|
||||
* including errors at, above or below the field path.
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
RetrieveSyncSpec retrieveSync(String path);
|
||||
|
||||
@@ -291,7 +291,7 @@ public interface GraphQlClient {
|
||||
* @return a {@code ClientGraphQlResponse} for further decoding of the response.
|
||||
* @throws GraphQlTransportException in case of errors due to transport or
|
||||
* other issues related to encoding and decoding the request and response.
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
ClientGraphQlResponse executeSync();
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ import org.springframework.web.client.RestClient;
|
||||
* execution chain.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
* @see SyncGraphQlTransport
|
||||
*/
|
||||
public interface HttpSyncGraphQlClient extends GraphQlClient {
|
||||
|
||||
@@ -21,7 +21,7 @@ package org.springframework.graphql.client;
|
||||
* chain with a {@link SyncGraphQlTransport}.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
public interface SyncGraphQlClientInterceptor {
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.graphql.GraphQlResponse;
|
||||
* Contract for blocking execution of GraphQL requests over some transport.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
* @see GraphQlClient.SyncBuilder
|
||||
*/
|
||||
public interface SyncGraphQlTransport {
|
||||
|
||||
@@ -94,7 +94,7 @@ public interface WebSocketGraphQlClient extends WebGraphQlClient {
|
||||
* Configure how frequently to send ping messages.
|
||||
* <p>By default, this is not set, and ping messages are not sent.
|
||||
* @param keepAlive the value to use
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
Builder<B> keepAlive(Duration keepAlive);
|
||||
|
||||
|
||||
@@ -153,7 +153,7 @@ public class GraphQlArgumentBinder {
|
||||
* @param isOmitted {@code true} if the argument was omitted from the input
|
||||
* and {@code false} if it was provided, but possibly {@code null}
|
||||
* @param targetType the type of Object to create
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
@Nullable
|
||||
public Object bind(
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.springframework.core.annotation.AliasFor;
|
||||
* Annotation for mapping a handler method to a federated schema type.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
@Target({ElementType.TYPE, ElementType.METHOD})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
|
||||
@@ -59,7 +59,7 @@ import org.springframework.util.StringUtils;
|
||||
* and plugged in via {@link SchemaResourceBuilder#schemaFactory(BiFunction)}.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
* @see Federation#transform(TypeDefinitionRegistry, RuntimeWiring)
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -34,7 +34,7 @@ import org.springframework.lang.Nullable;
|
||||
* resolver returned {@code null} or completed empty.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class RepresentationException extends RuntimeException {
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.graphql.data.method.HandlerMethod;
|
||||
* returned {@code null} or completed empty.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class RepresentationNotResolvedException extends RepresentationException {
|
||||
|
||||
@@ -57,7 +57,7 @@ import org.springframework.util.ClassUtils;
|
||||
*
|
||||
* @param <M> the type of mapping info prepared from a controller method
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
public abstract class AnnotatedControllerDetectionSupport<M> implements ApplicationContextAware, InitializingBean {
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ public class ArgumentMethodArgumentResolver implements HandlerMethodArgumentReso
|
||||
|
||||
/**
|
||||
* Return the configured {@link GraphQlArgumentBinder}.
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
public GraphQlArgumentBinder getArgumentBinder() {
|
||||
return this.argumentBinder;
|
||||
@@ -87,7 +87,7 @@ public class ArgumentMethodArgumentResolver implements HandlerMethodArgumentReso
|
||||
* @param environment for access to the arguments
|
||||
* @param name the name of an argument, or {@code null} to use the full map
|
||||
* @param targetType the type of Object to create
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
@Nullable
|
||||
protected Object doBind(
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.springframework.util.ObjectUtils;
|
||||
* resolve argument values from a {@link DataFetchingEnvironment}.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
public class DataFetcherHandlerMethodSupport extends InvocableHandlerMethodSupport {
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.lang.Nullable;
|
||||
* {@link graphql.schema.DataFetcher}.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
public final class DataFetcherMappingInfo {
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ import org.springframework.lang.Nullable;
|
||||
* apply at the point of DataFetcher invocation to allow local exception handling.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
public interface HandlerDataFetcherExceptionResolver extends DataFetcherExceptionResolver {
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ public class ClassNameTypeResolver implements TypeResolver {
|
||||
|
||||
/**
|
||||
* Return the map with configured {@link #addMapping(Class, String) explicit mappings}.
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
public Map<Class<?>, String> getMappings() {
|
||||
return this.mappings;
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.lang.Nullable;
|
||||
* obtaining it to and from Reactor and GraphQL contexts.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
public abstract class ContextSnapshotFactoryHelper {
|
||||
|
||||
|
||||
@@ -302,7 +302,7 @@ public final class SchemaMappingInspector {
|
||||
/**
|
||||
* Return an initializer to configure the {@link SchemaMappingInspector}
|
||||
* and perform the inspection.
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
public static Initializer initializer() {
|
||||
return new DefaultInitializer();
|
||||
@@ -311,7 +311,7 @@ public final class SchemaMappingInspector {
|
||||
|
||||
/**
|
||||
* Helps to configure {@link SchemaMappingInspector}.
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
public interface Initializer {
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ public interface SchemaReport {
|
||||
/**
|
||||
* Return a map with {@link DataFetcher}s and the names of arguments they
|
||||
* depend on that don't exist.
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
MultiValueMap<DataFetcher<?>, String> unmappedArguments();
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ public interface SelfDescribingDataFetcher<T> extends DataFetcher<T> {
|
||||
/**
|
||||
* Return a map with arguments that this {@link DataFetcher} looks up
|
||||
* along with the Java types they are mapped to.
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
default Map<String, ResolvableType> getArguments() {
|
||||
return Collections.emptyMap();
|
||||
|
||||
@@ -43,7 +43,7 @@ public interface WebGraphQlHandler {
|
||||
/**
|
||||
* Return the {@link WebGraphQlHandler.Builder#contextSnapshotFactory configured}
|
||||
* {@code ContextSnapshotFactory} instance to use.
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
ContextSnapshotFactory contextSnapshotFactory();
|
||||
|
||||
@@ -100,7 +100,7 @@ public interface WebGraphQlHandler {
|
||||
* values from the transport layer to the GraphQL execution layer.
|
||||
* If not set, then a default instance is used.
|
||||
* @param snapshotFactory the factory to use
|
||||
* @since 1.3
|
||||
* @since 1.3.0
|
||||
*/
|
||||
Builder contextSnapshotFactory(ContextSnapshotFactory snapshotFactory);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user