Hypertune
Search
⌃K

In-app content quickstart

To use Hypertune for in-app content, follow the feature flags quickstart, but use String or custom types instead of Boolean, e.g. you might start with a schema like:
type Query {
root(context: Context!): Root!
}
input Context {
user: User!
}
input User {
id: String!
name: String!
email: String!
}
type Root {
pages: [Page!]!
}
type Page {
title: String!
content: [Block!]!
}
union Block = TextBlock | ImageBlock
type TextBlock {
text: String!
}
type ImageBlock {
imageUrl: String!
height: Int!
caption: String!
}