Comments (1)
For anyone looking for a workaround: This is already possible with the AxiosHttp
module.
Here a short example:
lowdefy: 3.23.2
name: Lowdefy GraphQL Example
connections:
- id: graphql_api
type: AxiosHttp
properties:
baseURL: https://countries.trevorblades.com
pages:
- id: Continents
type: PageHeaderMenu
requests:
- id: continents_request
type: AxiosHttp
connectionId: graphql_api
properties:
url: /
method: post
data:
query: |
query {
continents {
name
}
}
events:
onEnter:
- id: fetch_continents
type: Request
params: continents_request
- id: set_continents
type: SetState
params:
continents_list:
_request: continents_request.data.data.continents
blocks:
- id: title_main
type: Title
properties:
content: Continents
- id: continents_list
type: List
blocks:
- id: continent_container_$
type: Box
style:
background: white
margin: 10
padding: 10
blocks:
- id: continent_title_$
type: Title
properties:
level: 3
content:
_state: continents_list.$.name
A dedicated GraphQL module would be cool nevertheless!
from lowdefy.
Related Issues (20)
- Build operators are not evaluated on refDefinition in buildRefs
- Selector options not displaying onClick.
- Auth UserFields remapping does not work. HOT 1
- Using Postgresql lowdefy seems to just create new connections and never close idle ones. HOT 1
- MSSQL custom port HOT 1
- Visibility toggle of display blocks removes value from state.
- SQLite connection doesn't seem to work HOT 5
- basePath not used for making API requests HOT 1
- Ag-Grid event onFilterChanged does not work HOT 1
- Lowdefy4.0DocsError
- Can't access _global in 4.0.0-rc.7 HOT 8
- Defined "pageId" setting for MenuGroup menu item produces error in console HOT 2
- Error on installing starter-jwt plugin. HOT 3
- Menu link style property not working.
- Lowdefy + Traefik HOT 1
- Docker image does not work as expected HOT 1
- Could not find "lowdefy.yaml" file in specified config directory HOT 2
- Affix container block does not stick to the viewport in 4.0.0-rc.10 documentation HOT 4
- Tutorial sqlite connection doesn't seem to work HOT 3
- onChange event of Tab block does not trigger on activeKey change
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lowdefy.