Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/graphql/cachecontrol/CacheControl.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
* To best use this class you need to pass a CacheControl object to each {@link graphql.schema.DataFetcher} and have them decide on
* the caching hint values.
* <p>
* The easiest why to do this is create a CacheControl object at query start and pass it in as a "context" object via {@link graphql.ExecutionInput#getContext()} and then have
* each {@link graphql.schema.DataFetcher} thats wants to make cache control hints use that.
* The easiest way to do this is create a CacheControl object at query start and pass it in as a "context" object via {@link graphql.ExecutionInput#getContext()} and then have
* each {@link graphql.schema.DataFetcher} that wants to make cache control hints use that.
* <p>
* Then at the end of the query you would call {@link #addTo(graphql.ExecutionResult)} to record the cache control hints into the {@link graphql.ExecutionResult}
* extensions map as per the specification.
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/graphql/schema/idl/errors/UnionTypeError.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package graphql.schema.idl.errors;

import graphql.Internal;
import graphql.language.Node;

@Internal
public class UnionTypeError extends BaseError {
public UnionTypeError(Node node, String msg) {
super(node, msg);
Expand Down