Hugh

Results 9 comments of Hugh

How to solve this problem? ` [PDOException] SQLSTATE[08006] [7] FATAL: sorry, too many clients already `

Suggestion: add ”dump“ and ” regain“ api 。So that compatible on the storage implementation The storage implementation can be create tables (events 、tasks...) to save state and data like:https://github.com/antlinker/flow/blob/develop/schema/s_flow.go

example : Marshal to model like https://gorm.io/docs/has_many.html, after that model to save。 model Select, after that model Unmarshal to BpmnEngineState Marshal support [] byte or struct , or like https://github.com/jinzhu/copier...

support grom like demo ``` package main import ( "fmt" "github.com/jinzhu/copier" "github.com/nitram509/lib-bpmn-engine/pkg/bpmn_engine" "github.com/stretchr/testify/assert" "gorm.io/driver/mysql" "gorm.io/gorm" "testing" ) type serializedBpmnEngine struct { Id int64 `gorm:"foreignKey:autoIncrement"` Version int `json:"version"` Name string `json:"name"`...

Other solutions: bpmnEngine to json, json to grom struct. grom struct to json , json to bpmnEngine.

Hello @nitram509 , [feature/export_and_import_BPMN_state ](https://github.com/nitram509/lib-bpmn-engine/tree/feature/export_and_import_BPMN_state) is ready?

`Error uploading to [https://codecov.io:](https://codecov.io/) Error: There was an error fetching the storage URL during POST: 429`