An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
Guides contain sections explaining CRUD manager network API, but they do not cover protocol completely. A lot of text to read through, only few data samples, request and response are on different pages which makes it more difficult to comprehend.
Suggestion is to make simple test app that would validate client implementation of CRUD manager protocol is correct.
Here are some expectations for such app:
It should use a test running tool that is free and supports automation (to be usable in CI pipeline). New siesta 6 or smth like jest, common syntax, easy to use.
There should be few groups of tests that cover various CRUD manager requests and responses. Covering creating hierarchies, create/delete record, update record in sync response, add record in sync response etc.
Tests should not use Bryntum core code at all, only validate protocol. Basically validating request objects against response objects.
Test suite should use mock URLs allowing to use local objects (so tests pass by default) and allowing to redirect requests to actual backend (to validate client implementation of the protocol)
Idea is following, when use implements a CRUD handler he could run command like this to validate his work:
$ node CRUDVerificationTool/index.js --baseUrl=https://localhost/my-crud-implementation/
// runs test suite, reports any failed expectations
Related forum post: https://www.bryntum.com/forum/viewtopic.php?f=51&t=20208
Guides contain sections explaining CRUD manager network API, but they do not cover protocol completely. A lot of text to read through, only few data samples, request and response are on different pages which makes it more difficult to comprehend.
Suggestion is to make simple test app that would validate client implementation of CRUD manager protocol is correct. Here are some expectations for such app:
Idea is following, when use implements a CRUD handler he could run command like this to validate his work: