added basic graphql mapping
This commit is contained in:
@ -59,6 +59,15 @@
|
||||
if (component.data?.map) {
|
||||
subscribeAndMapQueries(component.id, component.data.map);
|
||||
}
|
||||
if (component.data?.gql) {
|
||||
getComposerStore(component.id).update((storeValue) => ({
|
||||
...storeValue,
|
||||
x: {
|
||||
...storeValue.x,
|
||||
...component.data.gql
|
||||
}
|
||||
}));
|
||||
}
|
||||
}
|
||||
getComposerStore(component.id).update((storeValue) => ({
|
||||
...storeValue,
|
||||
|
Reference in New Issue
Block a user