amplication / amplication/prisma-schema-dsl
Improvement in function parameters
Ouverte
backlog
stale
- Langage dominant
- TypeScript
- Étoiles
- 113
- Forks
- 11
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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`
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.