You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing remote server: In the .env file replace REACT_APP_GRAPHQL_ENDPOINT=https://api.reflowproject.eu/api/graphql (ZenPub) by REACT_APP_GRAPHQL_ENDPOINT=https://reflow-demo.dyne.org/api/graphql (Bonfire) and run yarn start.
However some minor changes are required. Preliminary list:
Login mutation anonLogin now replaced by login. See docs
Economic Resource track and trace previously return only economicResouce now can return multiple types and economicResource type needs to be detected before it's casted. See:
{
economicResource(id: "ID") {
id
trace {
__typename
... on Process {
id
}
... on EconomicEvent {
id
}
}
}
}
More to be detected while running we Loop and mapping the XHR calls in the console.
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:
anonLoginnow replaced bylogin. See docstrackandtracepreviously return onlyeconomicResoucenow can return multiple types andeconomicResourcetype needs to be detected before it's casted. See: