Schema
type Source {
root(context: Context!): Root!
}
input Context {
environment: Environment!
user: User!
organization: Organization!
}
enum Environment { development, test, production }
input User {
id: String!
name: String!
email: String!
}
input Organization {
id: String!
name: String!
plan: Plan!
}
enum Plan { free, pro, enterprise }
input PurchaseEvent @event {
context: Context!
properties: PurchaseEventProperties!
}
type PurchaseEventProperties {
revenue: Int!
}
type Root {
showNewEditor: Boolean!
purchase(properties: PurchaseEventProperties!): Void!
}Complex input types
Complex flag types
Flag-specific targeting attributes
Flag lifecycle
Schema migrations
Last updated