Skip to content

Path issue in .args.ts files for imports #138

@abaritci

Description

@abaritci

I have 3 tables im my DB:

user
role
user_roles

The models are User, Role and UserRoles

After generation folder with files in the user.args.ts file I have errors connected with import paths. Each time when I generating and getting new graphql schema I mannualy changing the paths. For example:

import { UserRolesWhereInput } from '../user/inputs/UserRolesWhereInput.input';

to

import { UserRolesWhereInput } from '../userRoles/inputs/UserRolesWhereInput.input';

In user.args.ts file.

How can I solve this issue and, also, how can I generate new table CRUDs for each generations only? I don't want to generate every time from scratch for each tables.

@mk668a @MinJungHyun When you can fix this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions