c

rocks.muki.graphql.codegen

ApolloSourceGenerator

case class ApolloSourceGenerator(fileName: String, additionalImports: List[Import], additionalInits: List[Init], jsonCodeGen: JsonCodeGen) extends Generator[List[Stat]] with Product with Serializable

Generate code using Scalameta.

Linear Supertypes
Serializable, Serializable, Product, Equals, Generator[List[Stat]], (Api) ⇒ Result[List[Stat]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ApolloSourceGenerator
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Generator
  7. Function1
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ApolloSourceGenerator(fileName: String, additionalImports: List[Import], additionalInits: List[Init], jsonCodeGen: JsonCodeGen)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val additionalImports: List[Import]
  5. val additionalInits: List[Init]
  6. def andThen[A](g: (Result[List[Stat]]) ⇒ A): (Api) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. def apply(document: Api): Result[List[Stat]]
    Definition Classes
    ApolloSourceGenerator → Function1
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def compose[A](g: (A) ⇒ Api): (A) ⇒ Result[List[Stat]]
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. val fileName: String
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def generateInterfaces(document: Api): Result[List[Stat]]

    Generates only the interfaces (fragments) that appear in the given document.

    Generates only the interfaces (fragments) that appear in the given document.

    This method works great with DocumentLoader.merge, merging all fragments together and generating a single interface definition object.

    document

    schema + query

    returns

    interfaces

  15. def generateTypes(document: Api): Result[List[Stat]]

    Generates only the types that appear in the given document.

    Generates only the types that appear in the given document.

    This method works great with DocumentLoader.merge, merging all fragments together and generating a single type definition object.

    document

    schema + query

    returns

    types

  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val jsonCodeGen: JsonCodeGen
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Generator[List[Stat]]

Inherited from (Api) ⇒ Result[List[Stat]]

Inherited from AnyRef

Inherited from Any

Ungrouped