[bug] Project info missing when `DBML->JSON->DBML`
Open
bug
enhancement
- Dominant language
- JavaScript
- Stars
- 3.7k
- Forks
- 233
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 4
Description
I make a prettier-plugin for DBML: https://github.com/nice-move/prettier-plugin-dbml
But I find out that project info will be missing when converting DBML to * and * to DBML.
```js
const { exporter } = require('@dbml/core');
const string = `
Project project_name {
database_type: 'PostgreSQL'
Note: 'Description of the project'
}
`
exporter.export(string, 'dbml') // -> ''
```
Contributor guide
Assessment
This issue has not been assessed yet.