Skip to content

Improvement in function parameters #27

@vduggen

Description

@vduggen

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.

Example implementation:
createDataSource({ name: string, provider: DataSourceProvider, url: string | DataSourceURLEnv }): DataSource

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions