Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
abaritci opened this issue Apr 2, 2023 · 0 comments
Open

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

abaritci opened this issue Apr 2, 2023 · 0 comments

Comments

@abaritci
Copy link

abaritci commented Apr 2, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant