amplication / amplication/prisma-schema-dsl

Improvement in function parameters

オープン
#27 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。