GraphQL
GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.
concerto compile --model test.cto --target graphql
Sample Output
scalar DateTime
# namespace test@1.0.0
type Person {
email: String!
dob: DateTime
}
Options
None.
Limitations
$
is unfortunately a restricted character in GraphQL!- Scalars are unboxed as properties