Closed huaji168 closed 8 months ago
@huaji168 - I took a look at the build errors. The problem is, I need to adapt the references in graphql_parameter_page_service.dart
to the new API calls. But there is some missing functionality at the moment -- is this still a work in progress? For example, how would I use the API to create a new page with entries? It appears that newParamPageDefTree
just takes a title and then returns a new page with the default tree structure. With the previous API I would first add a page with addpagetitle
and then add entries to it with addentrylist
. The most convenient approach would be for me to send down the page structure as I have it in memory when the page is saved.
If adding entries isn't available yet then what I can do is disable that functionality so we can test loading pages. LMK how you want to proceed. Thanks!
graphql API to return a complete page tree and create a default tree