Created
June 19, 2019 12:15
-
-
Save dotansimha/b747043b23e591cfdb10aade1ee2d6d9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.java.generated; | |
import graphql.schema.TypeResolver; | |
import graphql.schema.DataFetcher; | |
public class Resolvers { | |
public interface Chat { | |
public DataFetcher<Object> id(); | |
public DataFetcher<Iterable<Object>> users(); | |
public DataFetcher<String> title(); | |
} | |
public interface Node extends TypeResolver { | |
default public DataFetcher<Object> id() { return null; } | |
} | |
public interface Query { | |
public DataFetcher<Object> me(); | |
} | |
public interface SearchResult extends TypeResolver {} | |
public interface User { | |
public DataFetcher<Object> id(); | |
public DataFetcher<String> username(); | |
public DataFetcher<String> email(); | |
public DataFetcher<String> name(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment