Is this library able to take a `myschema.graphql` ...
# graphql
j
Is this library able to take a
myschema.graphql
schema file as input and output a collection of kotlin files containing kotlin data classes for that schema? For example, this GraphQL schema:
myschema.graphql
Copy code
type User {
    """
    The unique identifier for the user
    """
    id: String!
    """
    User first and last name
    """
    name: String!
    """
    Gender identity of user
    """
    gender: Gender
}

enum Gender {
	MALE
	FEMALE
	OTHER
	UNKNOWN
}
...would generate:
User.kt
Copy code
data class User(
    val id: String,
    val name: String, 
    val gender: Gender
)
Gender.kt
Copy code
enum class Gender {
    MALE, FEMALE, OTHER, UNKNOWN;
}
d