amplication / amplication/prisma-schema-dsl
Improvement in function parameters
オープン
backlog
stale
- 主要言語
- TypeScript
- スター
- 113
- フォーク
- 11
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
It would be more interesting if instead of having fixed order parameters, an object is used for the parameters in the functions createScalarField, createObjectField, createDataSource. An article to use as a reference: [The Options Object Pattern with TypeScript](https://medium.com/@bchadwickfrance/the-options-object-pattern-with-typescript-a14f33306ec8).
Example implementation:
`createDataSource({ name: string, provider: DataSourceProvider, url: string | DataSourceURLEnv }): DataSource`
コントリビューションガイド
評価
この issue はまだ評価されていません。