-
Notifications
You must be signed in to change notification settings - Fork 5
Description
-
Legacy migration work Asses ZenPub replacement with BonFire #121 Most of the issues here are solved.
-
Bonfire public instance for development is here https://reflow-demo.dyne.org/api/graphql and documentation available https://reflow-demo.dyne.org/api/explore. Also, the main documentation in reflowos.dyne.org is updated except for the API Tour page.
-
Changing remote server: In the
.envfile replaceREACT_APP_GRAPHQL_ENDPOINT=https://api.reflowproject.eu/api/graphql(ZenPub) byREACT_APP_GRAPHQL_ENDPOINT=https://reflow-demo.dyne.org/api/graphql(Bonfire) and runyarn start. -
Almost all the existing
queriesandmutationsare now implemented in the new Bonfire. See issue WeLoop: Sufficient Social GraphQL exposure for initial use cases dyne/reflow-os#18 (comment) -
However some minor changes are required. Preliminary list:
- Login mutation
anonLoginnow replaced bylogin. See docs - Economic Resource
trackandtracepreviously return onlyeconomicResoucenow can return multiple types andeconomicResourcetype needs to be detected before it's casted. See:
{
economicResource(id: "ID") {
id
trace {
__typename
... on Process {
id
}
... on EconomicEvent {
id
}
}
}
}
