holistics / holistics/dbml

[bug] Project info missing when `DBML->JSON->DBML`

Open
#285 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.