Cedalio
Search
K

Define a Schema

To start using Cedalio, the first step is to define your data model using the GraphQL schema definition language.
To follow the full guide provided in this doc site with a concrete example, we will use this simple schema:
1
type Todo @model{
2
title: String!
3
description: String
4
priority: Int!
5
tags: [String!]
6
status: Status
7
}
8
9
enum Status {
10
DONE
11
DELETED
12
READY
13
}
Note that in the example schema there is no need to define queries, mutation or custom scalar types and directives. Those are automatically generated and interpreted by Cedalio. For more information see the documentation on Queries and Mutations
You can download the file from here:
getting-started-schema.graphql
157B
Binary
Comment and post example GraphQL schema
For a deeper understanding of our solution and how it works under the hood, be sure to read our solution blueprint or go directly to the use cases to see real world examples.
This is alpha software and it is not intended to be used in production yet nor should be used to hold sensitive user information. Errors and API breaking changes should be expected