I am starting to develop for relay coming from Apollo. I have a dumb server running on a SQLITE3 database just for testing while I am refactoring. Using graphql-relay on the backen.
Currently I have something like this:
{
root: {
allFoo: [FooType]
}
}
I was wondering how I would add a new FooType item to the allFoo list. On the getConfigs the RANGE_ADD only acts upon connections. So do I need to make my allFoo type a connection instead of a GraphqlList(FooType) ? Or can I use FIELD_CHANGE somehow?